diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 658ee9aaa..b7fe812f8 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -696,7 +696,7 @@ handle_send_ready (void *cls, | |||
696 | ret = th->get_message (th->get_message_cls, | 696 | ret = th->get_message (th->get_message_cls, |
697 | th->msize, | 697 | th->msize, |
698 | &sm[1]); | 698 | &sm[1]); |
699 | sm->header.size = htons (ret); | 699 | sm->header.size = htons (ret + sizeof (struct SendMessage)); |
700 | th->msize = ret; | 700 | th->msize = ret; |
701 | // GNUNET_assert (ret == th->msize); /* NOTE: API change! */ | 701 | // GNUNET_assert (ret == th->msize); /* NOTE: API change! */ |
702 | delay = GNUNET_TIME_absolute_get_duration (th->request_time); | 702 | delay = GNUNET_TIME_absolute_get_duration (th->request_time); |