diff options
author | nandika | 2010-06-14 09:29:40 +0000 |
---|---|---|
committer | nandika | 2010-06-14 09:29:40 +0000 |
commit | 862f60190088b209adbe0aa588cb5fb9c17ee0c0 (patch) | |
tree | b12c2c3c9ac3ceba75a62bdac8b1cc7bfe78f21d | |
parent | 1c811fbdebd430adef8429f774e9d8fe84e13356 (diff) | |
download | axis2c-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
-rw-r--r-- | util/src/url.c | 2 |
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); |