summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorGravatar nandika2010-06-14 09:29:40 +0000
committerGravatar nandika2010-06-14 09:29:40 +0000
commit862f60190088b209adbe0aa588cb5fb9c17ee0c0 (patch)
treeb12c2c3c9ac3ceba75a62bdac8b1cc7bfe78f21d /util
parent1c811fbdebd430adef8429f774e9d8fe84e13356 (diff)
downloadaxis2c-862f60190088b209adbe0aa588cb5fb9c17ee0c0.tar.gz
axis2c-862f60190088b209adbe0aa588cb5fb9c17ee0c0.tar.bz2
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
Diffstat (limited to 'util')
-rw-r--r--util/src/url.c2
1 files changed, 1 insertions, 1 deletions
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);