diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-19 22:26:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-19 22:26:35 +0000 |
commit | 4707789ebfb4cef9672db31e3ceb8f98381901d0 (patch) | |
tree | f2e7953ff10bbb4c423f3cd81fe37d1fad37e910 /src/core/core_api.c | |
parent | 2e024bd67fb584c40958e96b2b26cd9c2c5311b7 (diff) | |
download | gnunet-4707789ebfb4cef9672db31e3ceb8f98381901d0.tar.gz gnunet-4707789ebfb4cef9672db31e3ceb8f98381901d0.zip |
-fix the fix
Diffstat (limited to 'src/core/core_api.c')
-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); |