diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2014-05-26 15:36:51 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2014-05-26 15:36:51 +0000 |
commit | 5aa93f321ba764220e209f6579fb911535d38200 (patch) | |
tree | 71911384682856729daa41990bda1721c033a832 /src/scalarproduct/scalarproduct_api.c | |
parent | b5a4052779cba718ff887c6b43c2d20d5e076510 (diff) | |
download | gnunet-5aa93f321ba764220e209f6579fb911535d38200.tar.gz gnunet-5aa93f321ba764220e209f6579fb911535d38200.zip |
- fixed the same bug on bob's side as on alice's side in copying over element data in the SP-api. seems like this correction got lost somewhere
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 */ |