aboutsummaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set_union.c10
-rw-r--r--src/set/set_api.c6
-rw-r--r--src/set/test_set_api.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c
index c06b7cddf..d762e4bba 100644
--- a/src/set/gnunet-service-set_union.c
+++ b/src/set/gnunet-service-set_union.c
@@ -490,7 +490,7 @@ op_get_element (struct Operation *op,
490 * 490 *
491 * @param op the union operation 491 * @param op the union operation
492 * @param ee the element entry 492 * @param ee the element entry
493 * @parem received was this element received from the remote peer? 493 * @param received was this element received from the remote peer?
494 */ 494 */
495static void 495static void
496op_register_element (struct Operation *op, 496op_register_element (struct Operation *op,
@@ -1836,7 +1836,7 @@ send_missing_full_elements_iter (void *cls,
1836/** 1836/**
1837 * Handle a request for full set transmission. 1837 * Handle a request for full set transmission.
1838 * 1838 *
1839 * @parem cls closure, a set union operation 1839 * @param cls closure, a set union operation
1840 * @param mh the demand message 1840 * @param mh the demand message
1841 */ 1841 */
1842void 1842void
@@ -1870,7 +1870,7 @@ handle_union_p2p_request_full (void *cls,
1870/** 1870/**
1871 * Handle a "full done" message. 1871 * Handle a "full done" message.
1872 * 1872 *
1873 * @parem cls closure, a set union operation 1873 * @param cls closure, a set union operation
1874 * @param mh the demand message 1874 * @param mh the demand message
1875 */ 1875 */
1876void 1876void
@@ -1930,7 +1930,7 @@ handle_union_p2p_full_done (void *cls,
1930 * Check a demand by the other peer for elements based on a list 1930 * Check a demand by the other peer for elements based on a list
1931 * of `struct GNUNET_HashCode`s. 1931 * of `struct GNUNET_HashCode`s.
1932 * 1932 *
1933 * @parem cls closure, a set union operation 1933 * @param cls closure, a set union operation
1934 * @param mh the demand message 1934 * @param mh the demand message
1935 * @return #GNUNET_OK if @a mh is well-formed 1935 * @return #GNUNET_OK if @a mh is well-formed
1936 */ 1936 */
@@ -1962,7 +1962,7 @@ check_union_p2p_demand (void *cls,
1962 * Handle a demand by the other peer for elements based on a list 1962 * Handle a demand by the other peer for elements based on a list
1963 * of `struct GNUNET_HashCode`s. 1963 * of `struct GNUNET_HashCode`s.
1964 * 1964 *
1965 * @parem cls closure, a set union operation 1965 * @param cls closure, a set union operation
1966 * @param mh the demand message 1966 * @param mh the demand message
1967 */ 1967 */
1968void 1968void
diff --git a/src/set/set_api.c b/src/set/set_api.c
index a082c23c1..6b3dc940c 100644
--- a/src/set/set_api.c
+++ b/src/set/set_api.c
@@ -490,7 +490,7 @@ set_operation_destroy (struct GNUNET_SET_OperationHandle *oh)
490 490
491 if (NULL != oh->conclude_mqm) 491 if (NULL != oh->conclude_mqm)
492 GNUNET_MQ_discard (oh->conclude_mqm); 492 GNUNET_MQ_discard (oh->conclude_mqm);
493 /* is the operation already commited? */ 493 /* is the operation already committed? */
494 if (NULL != set) 494 if (NULL != set)
495 { 495 {
496 GNUNET_CONTAINER_DLL_remove (set->ops_head, 496 GNUNET_CONTAINER_DLL_remove (set->ops_head,
@@ -649,7 +649,7 @@ create_internal (const struct GNUNET_CONFIGURATION_Handle *cfg,
649 * @param op operation supported by the set 649 * @param op operation supported by the set
650 * Note that the operation has to be specified 650 * Note that the operation has to be specified
651 * beforehand, as certain set operations need to maintain 651 * beforehand, as certain set operations need to maintain
652 * data structures spefific to the operation 652 * data structures specific to the operation
653 * @return a handle to the set 653 * @return a handle to the set
654 */ 654 */
655struct GNUNET_SET_Handle * 655struct GNUNET_SET_Handle *
@@ -1163,7 +1163,7 @@ GNUNET_SET_commit (struct GNUNET_SET_OperationHandle *oh,
1163 * @param set the set to iterate over 1163 * @param set the set to iterate over
1164 * @param iter the iterator to call for each element 1164 * @param iter the iterator to call for each element
1165 * @param iter_cls closure for @a iter 1165 * @param iter_cls closure for @a iter
1166 * @return #GNUNET_YES if the iteration started successfuly, 1166 * @return #GNUNET_YES if the iteration started successfully,
1167 * #GNUNET_NO if another iteration is active 1167 * #GNUNET_NO if another iteration is active
1168 * #GNUNET_SYSERR if the set is invalid (e.g. the server crashed, disconnected) 1168 * #GNUNET_SYSERR if the set is invalid (e.g. the server crashed, disconnected)
1169 */ 1169 */
diff --git a/src/set/test_set_api.c b/src/set/test_set_api.c
index 4b9b0ff82..d1afdd354 100644
--- a/src/set/test_set_api.c
+++ b/src/set/test_set_api.c
@@ -371,7 +371,7 @@ run (void *cls,
371 set2); 371 set2);
372 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id); 372 GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id);
373 373
374 /* test if canceling an uncommited request works! */ 374 /* test if canceling an uncommitted request works! */
375 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 375 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
376 "Launching and instantly stopping set operation\n"); 376 "Launching and instantly stopping set operation\n");
377 my_oh = GNUNET_SET_prepare (&local_id, 377 my_oh = GNUNET_SET_prepare (&local_id,