diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:25:37 +0200 |
commit | aa78134a557079ce570345e751e4c36c4b2ba79a (patch) | |
tree | f7bf25950513285184e2426109235337d0aef8be /src/consensus | |
parent | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (diff) | |
download | gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.tar.gz gnunet-aa78134a557079ce570345e751e4c36c4b2ba79a.zip |
-fix many more typos
Diffstat (limited to 'src/consensus')
-rw-r--r-- | src/consensus/gnunet-consensus-profiler.c | 2 | ||||
-rw-r--r-- | src/consensus/gnunet-service-consensus.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/consensus/gnunet-consensus-profiler.c b/src/consensus/gnunet-consensus-profiler.c index 65fc23d8f..07a536a2d 100644 --- a/src/consensus/gnunet-consensus-profiler.c +++ b/src/consensus/gnunet-consensus-profiler.c | |||
@@ -384,7 +384,7 @@ disconnect_adapter (void *cls, void *op_result) | |||
384 | * @param op the operation this callback corresponds to | 384 | * @param op the operation this callback corresponds to |
385 | * @param pinfo the result; will be NULL if the operation has failed | 385 | * @param pinfo the result; will be NULL if the operation has failed |
386 | * @param emsg error message if the operation has failed; will be NULL if the | 386 | * @param emsg error message if the operation has failed; will be NULL if the |
387 | * operation is successfull | 387 | * operation is successful |
388 | */ | 388 | */ |
389 | static void | 389 | static void |
390 | peer_info_cb (void *cb_cls, | 390 | peer_info_cb (void *cb_cls, |
diff --git a/src/consensus/gnunet-service-consensus.c b/src/consensus/gnunet-service-consensus.c index 371b7f67f..5b6b9bbd7 100644 --- a/src/consensus/gnunet-service-consensus.c +++ b/src/consensus/gnunet-service-consensus.c | |||
@@ -357,7 +357,7 @@ struct ReferendumEntry | |||
357 | * whether the peer finished the whole referendum. | 357 | * whether the peer finished the whole referendum. |
358 | * | 358 | * |
359 | * Votes from peers are only counted if they're | 359 | * Votes from peers are only counted if they're |
360 | * marked as commited (#GNUNET_YES) in the referendum. | 360 | * marked as committed (#GNUNET_YES) in the referendum. |
361 | * | 361 | * |
362 | * Otherwise (#GNUNET_NO), the requested changes are | 362 | * Otherwise (#GNUNET_NO), the requested changes are |
363 | * not counted for majority votes or thresholds. | 363 | * not counted for majority votes or thresholds. |
@@ -2232,7 +2232,7 @@ task_start_reconcile (struct TaskEntry *task) | |||
2232 | if ((task->key.peer1 == session->local_peer_idx) && (task->key.peer2 == | 2232 | if ((task->key.peer1 == session->local_peer_idx) && (task->key.peer2 == |
2233 | session->local_peer_idx)) | 2233 | session->local_peer_idx)) |
2234 | { | 2234 | { |
2235 | /* XXX: mark the corresponding rfn as commited if necessary */ | 2235 | /* XXX: mark the corresponding rfn as committed if necessary */ |
2236 | finish_task (task); | 2236 | finish_task (task); |
2237 | return; | 2237 | return; |
2238 | } | 2238 | } |
@@ -2642,7 +2642,7 @@ lookup_task (const struct ConsensusSession *session, | |||
2642 | * to accept it, otherwise the request will be refused | 2642 | * to accept it, otherwise the request will be refused |
2643 | * Note that we don't use a return value here, as it is also | 2643 | * Note that we don't use a return value here, as it is also |
2644 | * necessary to specify the set we want to do the operation with, | 2644 | * necessary to specify the set we want to do the operation with, |
2645 | * whith sometimes can be derived from the context message. | 2645 | * which sometimes can be derived from the context message. |
2646 | * Also necessary to specify the timeout. | 2646 | * Also necessary to specify the timeout. |
2647 | */ | 2647 | */ |
2648 | static void | 2648 | static void |
@@ -2705,7 +2705,7 @@ set_listen_cb (void *cls, | |||
2705 | 2705 | ||
2706 | if (task->key.peer2 != session->local_peer_idx) | 2706 | if (task->key.peer2 != session->local_peer_idx) |
2707 | { | 2707 | { |
2708 | /* We're being asked, so we must be thne 2nd peer. */ | 2708 | /* We're being asked, so we must be the 2nd peer. */ |
2709 | GNUNET_break_op (0); | 2709 | GNUNET_break_op (0); |
2710 | return; | 2710 | return; |
2711 | } | 2711 | } |