From 862f60190088b209adbe0aa588cb5fb9c17ee0c0 Mon Sep 17 00:00:00 2001 From: nandika Date: Mon, 14 Jun 2010 09:29:40 +0000 Subject: error in calculating url length which was causing segfault fixed git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@954378 13f79535-47bb-0310-9956-ffa450edef68 --- util/src/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/src/url.c b/util/src/url.c index 1be9644..9935bc7 100644 --- a/util/src/url.c +++ b/util/src/url.c @@ -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); -- cgit v1.1-32-gdbae