diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-10 21:30:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-10 21:30:47 +0200 |
commit | 77e8be0047c58590eaf97a5bc4a633eeaaa953d9 (patch) | |
tree | 72ec0eaf3cecff786dec636fe5bcb54f09f840b2 | |
parent | 1b89e8380d843d8f0d48a4ea8ecbae3f6d9039db (diff) |
include 0-terminator space
-rw-r--r-- | src/util/url.c | 2 |
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); |