aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2014-05-26 15:36:51 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2014-05-26 15:36:51 +0000
commit5aa93f321ba764220e209f6579fb911535d38200 (patch)
tree71911384682856729daa41990bda1721c033a832 /src/scalarproduct
parentb5a4052779cba718ff887c6b43c2d20d5e076510 (diff)
downloadgnunet-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')
-rw-r--r--src/scalarproduct/scalarproduct_api.c2
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 */