commit 4707789ebfb4cef9672db31e3ceb8f98381901d0
parent 2e024bd67fb584c40958e96b2b26cd9c2c5311b7
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 19 Jun 2016 22:26:35 +0000
-fix the fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);