diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
commit | 17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch) | |
tree | 777b5323145a5f4d1f044da29a682799008a11d4 /src/scalarproduct/scalarproduct_api.c | |
parent | 3391977e3f92a2ebcafc14ea6374aecd580df873 (diff) | |
download | gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip |
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/scalarproduct/scalarproduct_api.c')
-rw-r--r-- | src/scalarproduct/scalarproduct_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c index df9f8d196..05c122e74 100644 --- a/src/scalarproduct/scalarproduct_api.c +++ b/src/scalarproduct/scalarproduct_api.c | |||
@@ -268,7 +268,7 @@ GNUNET_SCALARPRODUCT_accept_computation (const struct GNUNET_CONFIGURATION_Handl | |||
268 | GNUNET_free (h); | 268 | GNUNET_free (h); |
269 | return NULL; | 269 | return NULL; |
270 | } | 270 | } |
271 | possible = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - sizeof (struct BobComputationMessage)) | 271 | possible = (GNUNET_MAX_MESSAGE_SIZE - 1 - sizeof (struct BobComputationMessage)) |
272 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); | 272 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); |
273 | todo = GNUNET_MIN (possible, | 273 | todo = GNUNET_MIN (possible, |
274 | element_count); | 274 | element_count); |
@@ -285,7 +285,7 @@ GNUNET_SCALARPRODUCT_accept_computation (const struct GNUNET_CONFIGURATION_Handl | |||
285 | element_count_transfered = todo; | 285 | element_count_transfered = todo; |
286 | GNUNET_MQ_send (h->mq, | 286 | GNUNET_MQ_send (h->mq, |
287 | env); | 287 | env); |
288 | possible = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - sizeof (*mmsg)) | 288 | possible = (GNUNET_MAX_MESSAGE_SIZE - 1 - sizeof (*mmsg)) |
289 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); | 289 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); |
290 | while (element_count_transfered < element_count) | 290 | while (element_count_transfered < element_count) |
291 | { | 291 | { |
@@ -426,7 +426,7 @@ GNUNET_SCALARPRODUCT_start_computation (const struct GNUNET_CONFIGURATION_Handle | |||
426 | h->cfg = cfg; | 426 | h->cfg = cfg; |
427 | h->key = *session_key; | 427 | h->key = *session_key; |
428 | 428 | ||
429 | possible = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - sizeof (struct AliceComputationMessage)) | 429 | possible = (GNUNET_MAX_MESSAGE_SIZE - 1 - sizeof (struct AliceComputationMessage)) |
430 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); | 430 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); |
431 | todo = GNUNET_MIN (possible, | 431 | todo = GNUNET_MIN (possible, |
432 | element_count); | 432 | element_count); |
@@ -445,7 +445,7 @@ GNUNET_SCALARPRODUCT_start_computation (const struct GNUNET_CONFIGURATION_Handle | |||
445 | GNUNET_MQ_send (h->mq, | 445 | GNUNET_MQ_send (h->mq, |
446 | env); | 446 | env); |
447 | element_count_transfered = todo; | 447 | element_count_transfered = todo; |
448 | possible = (GNUNET_SERVER_MAX_MESSAGE_SIZE - 1 - sizeof (*mmsg)) | 448 | possible = (GNUNET_MAX_MESSAGE_SIZE - 1 - sizeof (*mmsg)) |
449 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); | 449 | / sizeof (struct GNUNET_SCALARPRODUCT_Element); |
450 | while (element_count_transfered < element_count) | 450 | while (element_count_transfered < element_count) |
451 | { | 451 | { |