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:
2e024bd
)
-fix the fix
author
Christian Grothoff
<christian@grothoff.org>
Sun, 19 Jun 2016 22:26:35 +0000
(22:26 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 19 Jun 2016 22:26:35 +0000
(22:26 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 658ee9aaa4b571090ac49efca53b68600d3c2a97..b7fe812f882b34cc0826578024f1a73afd7d90a5 100644
(file)
--- a/
src/core/core_api.c
+++ b/
src/core/core_api.c
@@
-696,7
+696,7
@@
handle_send_ready (void *cls,
ret = th->get_message (th->get_message_cls,
th->msize,
&sm[1]);
- sm->header.size = htons (ret);
+ sm->header.size = htons (ret
+ sizeof (struct SendMessage)
);
th->msize = ret;
// GNUNET_assert (ret == th->msize); /* NOTE: API change! */
delay = GNUNET_TIME_absolute_get_duration (th->request_time);