From aa78134a557079ce570345e751e4c36c4b2ba79a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Apr 2021 20:25:37 +0200 Subject: -fix many more typos --- src/set/gnunet-service-set_union.c | 10 +++++----- src/set/set_api.c | 6 +++--- src/set/test_set_api.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/set') 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, * * @param op the union operation * @param ee the element entry - * @parem received was this element received from the remote peer? + * @param received was this element received from the remote peer? */ static void op_register_element (struct Operation *op, @@ -1836,7 +1836,7 @@ send_missing_full_elements_iter (void *cls, /** * Handle a request for full set transmission. * - * @parem cls closure, a set union operation + * @param cls closure, a set union operation * @param mh the demand message */ void @@ -1870,7 +1870,7 @@ handle_union_p2p_request_full (void *cls, /** * Handle a "full done" message. * - * @parem cls closure, a set union operation + * @param cls closure, a set union operation * @param mh the demand message */ void @@ -1930,7 +1930,7 @@ handle_union_p2p_full_done (void *cls, * Check a demand by the other peer for elements based on a list * of `struct GNUNET_HashCode`s. * - * @parem cls closure, a set union operation + * @param cls closure, a set union operation * @param mh the demand message * @return #GNUNET_OK if @a mh is well-formed */ @@ -1962,7 +1962,7 @@ check_union_p2p_demand (void *cls, * Handle a demand by the other peer for elements based on a list * of `struct GNUNET_HashCode`s. * - * @parem cls closure, a set union operation + * @param cls closure, a set union operation * @param mh the demand message */ void 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) if (NULL != oh->conclude_mqm) GNUNET_MQ_discard (oh->conclude_mqm); - /* is the operation already commited? */ + /* is the operation already committed? */ if (NULL != set) { GNUNET_CONTAINER_DLL_remove (set->ops_head, @@ -649,7 +649,7 @@ create_internal (const struct GNUNET_CONFIGURATION_Handle *cfg, * @param op operation supported by the set * Note that the operation has to be specified * beforehand, as certain set operations need to maintain - * data structures spefific to the operation + * data structures specific to the operation * @return a handle to the set */ struct GNUNET_SET_Handle * @@ -1163,7 +1163,7 @@ GNUNET_SET_commit (struct GNUNET_SET_OperationHandle *oh, * @param set the set to iterate over * @param iter the iterator to call for each element * @param iter_cls closure for @a iter - * @return #GNUNET_YES if the iteration started successfuly, + * @return #GNUNET_YES if the iteration started successfully, * #GNUNET_NO if another iteration is active * #GNUNET_SYSERR if the set is invalid (e.g. the server crashed, disconnected) */ 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, set2); GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &app_id); - /* test if canceling an uncommited request works! */ + /* test if canceling an uncommitted request works! */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Launching and instantly stopping set operation\n"); my_oh = GNUNET_SET_prepare (&local_id, -- cgit v1.2.3