summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
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);