diff options
Diffstat (limited to 'src/setu')
-rw-r--r-- | src/setu/gnunet-service-setu.c | 12 | ||||
-rw-r--r-- | src/setu/perf_setu_api.c | 2 | ||||
-rw-r--r-- | src/setu/setu_api.c | 2 | ||||
-rw-r--r-- | src/setu/test_setu_api.c | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c index 862b78aa9..bd1113f15 100644 --- a/src/setu/gnunet-service-setu.c +++ b/src/setu/gnunet-service-setu.c | |||
@@ -685,7 +685,7 @@ calculate_perf_rtt() { | |||
685 | int bytes_transmitted = 0; | 685 | int bytes_transmitted = 0; |
686 | 686 | ||
687 | /** | 687 | /** |
688 | * Calculate RGNUNET_SETU_AcceptMessageRT of Fullsync normaly 1 or 1.5 depending | 688 | * Calculate RGNUNET_SETU_AcceptMessageRT of Fullsync normally 1 or 1.5 depending |
689 | */ | 689 | */ |
690 | if (( perf_rtt.element_full.received != 0 ) || | 690 | if (( perf_rtt.element_full.received != 0 ) || |
691 | ( perf_rtt.element_full.sent != 0) | 691 | ( perf_rtt.element_full.sent != 0) |
@@ -1090,7 +1090,7 @@ op_get_element (struct Operation *op, | |||
1090 | * | 1090 | * |
1091 | * @param op the union operation | 1091 | * @param op the union operation |
1092 | * @param ee the element entry | 1092 | * @param ee the element entry |
1093 | * @parem received was this element received from the remote peer? | 1093 | * @param received was this element received from the remote peer? |
1094 | */ | 1094 | */ |
1095 | static void | 1095 | static void |
1096 | op_register_element (struct Operation *op, | 1096 | op_register_element (struct Operation *op, |
@@ -2419,7 +2419,7 @@ send_missing_full_elements_iter (void *cls, | |||
2419 | /** | 2419 | /** |
2420 | * Handle a request for full set transmission. | 2420 | * Handle a request for full set transmission. |
2421 | * | 2421 | * |
2422 | * @parem cls closure, a set union operation | 2422 | * @param cls closure, a set union operation |
2423 | * @param mh the demand message | 2423 | * @param mh the demand message |
2424 | */ | 2424 | */ |
2425 | static void | 2425 | static void |
@@ -2449,7 +2449,7 @@ handle_union_p2p_request_full (void *cls, | |||
2449 | /** | 2449 | /** |
2450 | * Handle a "full done" message. | 2450 | * Handle a "full done" message. |
2451 | * | 2451 | * |
2452 | * @parem cls closure, a set union operation | 2452 | * @param cls closure, a set union operation |
2453 | * @param mh the demand message | 2453 | * @param mh the demand message |
2454 | */ | 2454 | */ |
2455 | static void | 2455 | static void |
@@ -2510,7 +2510,7 @@ handle_union_p2p_full_done (void *cls, | |||
2510 | * Check a demand by the other peer for elements based on a list | 2510 | * Check a demand by the other peer for elements based on a list |
2511 | * of `struct GNUNET_HashCode`s. | 2511 | * of `struct GNUNET_HashCode`s. |
2512 | * | 2512 | * |
2513 | * @parem cls closure, a set union operation | 2513 | * @param cls closure, a set union operation |
2514 | * @param mh the demand message | 2514 | * @param mh the demand message |
2515 | * @return #GNUNET_OK if @a mh is well-formed | 2515 | * @return #GNUNET_OK if @a mh is well-formed |
2516 | */ | 2516 | */ |
@@ -2538,7 +2538,7 @@ check_union_p2p_demand (void *cls, | |||
2538 | * Handle a demand by the other peer for elements based on a list | 2538 | * Handle a demand by the other peer for elements based on a list |
2539 | * of `struct GNUNET_HashCode`s. | 2539 | * of `struct GNUNET_HashCode`s. |
2540 | * | 2540 | * |
2541 | * @parem cls closure, a set union operation | 2541 | * @param cls closure, a set union operation |
2542 | * @param mh the demand message | 2542 | * @param mh the demand message |
2543 | */ | 2543 | */ |
2544 | static void | 2544 | static void |
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c index 3b82e8af9..b273f9c71 100644 --- a/src/setu/perf_setu_api.c +++ b/src/setu/perf_setu_api.c | |||
@@ -379,7 +379,7 @@ run (void *cls, | |||
379 | set2); | 379 | set2); |
380 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id); | 380 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id); |
381 | 381 | ||
382 | /* test if canceling an uncommited request works! */ | 382 | /* test if canceling an uncommitted request works! */ |
383 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 383 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
384 | "Launching and instantly stopping set operation\n"); | 384 | "Launching and instantly stopping set operation\n"); |
385 | my_oh = GNUNET_SETU_prepare (&local_id, | 385 | my_oh = GNUNET_SETU_prepare (&local_id, |
diff --git a/src/setu/setu_api.c b/src/setu/setu_api.c index dd3a4a769..0a09b18b2 100644 --- a/src/setu/setu_api.c +++ b/src/setu/setu_api.c | |||
@@ -293,7 +293,7 @@ set_operation_destroy (struct GNUNET_SETU_OperationHandle *oh) | |||
293 | 293 | ||
294 | if (NULL != oh->conclude_mqm) | 294 | if (NULL != oh->conclude_mqm) |
295 | GNUNET_MQ_discard (oh->conclude_mqm); | 295 | GNUNET_MQ_discard (oh->conclude_mqm); |
296 | /* is the operation already commited? */ | 296 | /* is the operation already committed? */ |
297 | if (NULL != set) | 297 | if (NULL != set) |
298 | { | 298 | { |
299 | GNUNET_CONTAINER_DLL_remove (set->ops_head, | 299 | GNUNET_CONTAINER_DLL_remove (set->ops_head, |
diff --git a/src/setu/test_setu_api.c b/src/setu/test_setu_api.c index d5c9f5b7a..2fb7d015e 100644 --- a/src/setu/test_setu_api.c +++ b/src/setu/test_setu_api.c | |||
@@ -378,7 +378,7 @@ run (void *cls, | |||
378 | set2); | 378 | set2); |
379 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id); | 379 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id); |
380 | 380 | ||
381 | /* test if canceling an uncommited request works! */ | 381 | /* test if canceling an uncommitted request works! */ |
382 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 382 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
383 | "Launching and instantly stopping set operation\n"); | 383 | "Launching and instantly stopping set operation\n"); |
384 | my_oh = GNUNET_SETU_prepare (&local_id, | 384 | my_oh = GNUNET_SETU_prepare (&local_id, |