gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: order


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: order
Date: Tue, 14 May 2019 11:58:11 +0200

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

marcello-stanisci pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 896113b13 order
896113b13 is described below

commit 896113b13d1666837c9aec8d2e90ab21b0675e8a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue May 14 11:57:15 2019 +0200

    order
---
 src/json/json_mhd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/json/json_mhd.c b/src/json/json_mhd.c
index b6ab2d116..2112d4646 100644
--- a/src/json/json_mhd.c
+++ b/src/json/json_mhd.c
@@ -126,7 +126,7 @@ buffer_append (struct Buffer *buf,
 {
   if (buf->fill + data_size > max_size)
     return GNUNET_NO;
-  if (data_size + buf->fill > buf->alloc)
+  if (buf->fill + data_size > buf->alloc)
   {
     char *new_buf;
     size_t new_size = buf->alloc;

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



reply via email to

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