aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/url.c b/src/util/url.c
index d681fd02b..c64dfbc4f 100644
--- a/src/util/url.c
+++ b/src/util/url.c
@@ -296,7 +296,7 @@ TALER_url_absolute_raw_va (const char *proto,
len += strlen (proto) + strlen ("://") + strlen (host);
len += strlen (prefix) + strlen (path);
- len += calculate_argument_length (args);
+ len += calculate_argument_length (args) + 1; /* 0-terminator */
GNUNET_buffer_prealloc (&buf,
len);