gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: include 0-terminator space


From: gnunet
Subject: [taler-exchange] branch master updated: include 0-terminator space
Date: Fri, 10 Apr 2020 21:30:50 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 77e8be00 include 0-terminator space
77e8be00 is described below

commit 77e8be0047c58590eaf97a5bc4a633eeaaa953d9
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Apr 10 21:30:47 2020 +0200

    include 0-terminator space
---
 src/util/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]