projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae5c9b1
)
order
author
Marcello Stanisci
<stanisci.m@gmail.com>
Tue, 14 May 2019 09:57:15 +0000
(11:57 +0200)
committer
Marcello Stanisci
<stanisci.m@gmail.com>
Tue, 14 May 2019 09:57:39 +0000
(11:57 +0200)
src/json/json_mhd.c
patch
|
blob
|
history
diff --git
a/src/json/json_mhd.c
b/src/json/json_mhd.c
index b6ab2d116eacfa41ad6f436a9c9ae61340ab2122..2112d46469c6e7ab75b1135ce829b9971ff603fb 100644
(file)
--- 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;