axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r367222 - in /webservices/axis2/trunk/c/modules/util: Makefile.am string.c
Date Mon, 09 Jan 2006 06:29:06 GMT
Author: samisa
Date: Sun Jan  8 22:29:01 2006
New Revision: 367222

URL: http://svn.apache.org/viewcvs?rev=367222&view=rev
Log:
Added network_handler and fixed a bug in string

Modified:
    webservices/axis2/trunk/c/modules/util/Makefile.am
    webservices/axis2/trunk/c/modules/util/string.c

Modified: webservices/axis2/trunk/c/modules/util/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/Makefile.am?rev=367222&r1=367221&r2=367222&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/util/Makefile.am Sun Jan  8 22:29:01 2006
@@ -7,14 +7,15 @@
                         stream.c \
                         log.c \
                         string.c \
-                        file_diff.c \
                         qname.c \
                         array_list.c \
                         linked_list.c \
                         utils.c \
                         dir_handler.c \
                         file_handler.c \
-                        class_loader.c
+                        file_diff.c\
+                        class_loader.c\
+                        network_handler.c
 
 libaxis2_util_la_LIBADD = 
 INCLUDES = -I$(top_builddir)/include \

Modified: webservices/axis2/trunk/c/modules/util/string.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/string.c?rev=367222&r1=367221&r2=367222&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/string.c (original)
+++ webservices/axis2/trunk/c/modules/util/string.c Sun Jan  8 22:29:01 2006
@@ -67,7 +67,7 @@
     memcpy(ret, s1, axis2_strlen(s1)*sizeof(axis2_char_t));
     memcpy((ret + axis2_strlen(s1)*sizeof(axis2_char_t)), s2,
                     axis2_strlen(s2)*sizeof(axis2_char_t));
-    ret[alloc_len*sizeof(axis2_char_t)] = '\0';
+    ret[alloc_len*sizeof(axis2_char_t) - sizeof(axis2_char_t)] = '\0';
     return ret;
 }
 



Mime
View raw message