axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r954378 - /axis/axis2/c/core/trunk/util/src/url.c
Date Mon, 14 Jun 2010 09:29:40 GMT
Author: nandika
Date: Mon Jun 14 09:29:40 2010
New Revision: 954378

URL: http://svn.apache.org/viewvc?rev=954378&view=rev
Log:
error in calculating url length which was causing segfault fixed

Modified:
    axis/axis2/c/core/trunk/util/src/url.c

Modified: axis/axis2/c/core/trunk/util/src/url.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/src/url.c?rev=954378&r1=954377&r2=954378&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/src/url.c (original)
+++ axis/axis2/c/core/trunk/util/src/url.c Mon Jun 14 09:29:40 2010
@@ -325,7 +325,7 @@ axutil_url_to_external_form(
         len += axutil_strlen(port_str) + 1; /* +1 is for ':' */
     }
 
-    len = axutil_strlen(url->protocol) + 6;
+    len += axutil_strlen(url->protocol) + 6;
 
     if(url->host)
         len += axutil_strlen(url->host);



Mime
View raw message