summaryrefslogtreecommitdiff
path: root/src/util/url.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-10 21:30:47 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-10 21:30:47 +0200
commit77e8be0047c58590eaf97a5bc4a633eeaaa953d9 (patch)
tree72ec0eaf3cecff786dec636fe5bcb54f09f840b2 /src/util/url.c
parent1b89e8380d843d8f0d48a4ea8ecbae3f6d9039db (diff)
downloadexchange-77e8be0047c58590eaf97a5bc4a633eeaaa953d9.tar.gz
exchange-77e8be0047c58590eaf97a5bc4a633eeaaa953d9.tar.bz2
exchange-77e8be0047c58590eaf97a5bc4a633eeaaa953d9.zip
include 0-terminator space
Diffstat (limited to 'src/util/url.c')
-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 d681fd02..c64dfbc4 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);