diff options
Diffstat (limited to 'src/scalarproduct/scalarproduct_api.c')
-rw-r--r-- | src/scalarproduct/scalarproduct_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c index ea62027ab..747dd6872 100644 --- a/src/scalarproduct/scalarproduct_api.c +++ b/src/scalarproduct/scalarproduct_api.c | |||
@@ -386,7 +386,7 @@ GNUNET_SCALARPRODUCT_accept_computation (const struct GNUNET_CONFIGURATION_Handl | |||
386 | msg->session_key = *session_key; | 386 | msg->session_key = *session_key; |
387 | memcpy (&msg[1], | 387 | memcpy (&msg[1], |
388 | elements, | 388 | elements, |
389 | possible); | 389 | possible * sizeof (struct GNUNET_SCALARPRODUCT_Element)); |
390 | h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, size, | 390 | h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, size, |
391 | GNUNET_TIME_UNIT_FOREVER_REL, | 391 | GNUNET_TIME_UNIT_FOREVER_REL, |
392 | GNUNET_YES, /* retry is OK in the initial stage */ | 392 | GNUNET_YES, /* retry is OK in the initial stage */ |