diff options
Diffstat (limited to 'src/consensus/gnunet-service-consensus.c')
-rw-r--r-- | src/consensus/gnunet-service-consensus.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 | } |