diff options
Diffstat (limited to 'src/abd')
-rw-r--r-- | src/abd/gnunet-abd.c | 4 | ||||
-rw-r--r-- | src/abd/gnunet-service-abd.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/abd/gnunet-abd.c b/src/abd/gnunet-abd.c index ff7dd09c5..b1fb767e3 100644 --- a/src/abd/gnunet-abd.c +++ b/src/abd/gnunet-abd.c | |||
@@ -484,7 +484,7 @@ parse_expiration (const char *expirationstring, | |||
484 | static void | 484 | static void |
485 | error_cb (void *cls) | 485 | error_cb (void *cls) |
486 | { | 486 | { |
487 | fprintf (stderr, "Error occured during lookup, shutting down.\n"); | 487 | fprintf (stderr, "Error occurred during lookup, shutting down.\n"); |
488 | GNUNET_SCHEDULER_shutdown (); | 488 | GNUNET_SCHEDULER_shutdown (); |
489 | return; | 489 | return; |
490 | } | 490 | } |
@@ -499,7 +499,7 @@ add_continuation (void *cls, int32_t success, const char *emsg) | |||
499 | if (GNUNET_OK == success) | 499 | if (GNUNET_OK == success) |
500 | printf ("Adding successful.\n"); | 500 | printf ("Adding successful.\n"); |
501 | else | 501 | else |
502 | fprintf (stderr, "Error occured during adding, shutting down.\n"); | 502 | fprintf (stderr, "Error occurred during adding, shutting down.\n"); |
503 | 503 | ||
504 | GNUNET_SCHEDULER_shutdown (); | 504 | GNUNET_SCHEDULER_shutdown (); |
505 | } | 505 | } |
diff --git a/src/abd/gnunet-service-abd.c b/src/abd/gnunet-service-abd.c index 569d42295..93368da45 100644 --- a/src/abd/gnunet-service-abd.c +++ b/src/abd/gnunet-service-abd.c | |||
@@ -721,7 +721,7 @@ handle_bidirectional_match (struct DelegationSetQueueEntry *actual_entry, | |||
721 | tmp_set->delegation_chain_entry); | 721 | tmp_set->delegation_chain_entry); |
722 | 722 | ||
723 | // if one node on the path still needs solutions, this current | 723 | // if one node on the path still needs solutions, this current |
724 | // patch cannot fullfil the conditions and therefore stops here | 724 | // patch cannot fulfill the conditions and therefore stops here |
725 | // however, it is in the vrh and can be used by the other paths | 725 | // however, it is in the vrh and can be used by the other paths |
726 | // related to this path/collection/verification | 726 | // related to this path/collection/verification |
727 | if (0 < tmp_set->parent_queue_entry->required_solutions) | 727 | if (0 < tmp_set->parent_queue_entry->required_solutions) |
@@ -1334,7 +1334,7 @@ delegation_chain_fw_resolution_start (void *cls) | |||
1334 | } | 1334 | } |
1335 | 1335 | ||
1336 | // Pre-check with vrh->dele_chain_.. if match issuer_key | 1336 | // Pre-check with vrh->dele_chain_.. if match issuer_key |
1337 | // otherwise FW: start mutliple lookups for each vrh->dele_chain | 1337 | // otherwise FW: start multiple lookups for each vrh->dele_chain |
1338 | // A.a <- ... | 1338 | // A.a <- ... |
1339 | // X.x <- C | 1339 | // X.x <- C |
1340 | // Y.y <- C | 1340 | // Y.y <- C |
@@ -1562,7 +1562,7 @@ delegate_collection_finished (void *cls) | |||
1562 | if (GNUNET_ABD_FLAG_BACKWARD & vrh->resolution_algo && | 1562 | if (GNUNET_ABD_FLAG_BACKWARD & vrh->resolution_algo && |
1563 | GNUNET_ABD_FLAG_FORWARD & vrh->resolution_algo) | 1563 | GNUNET_ABD_FLAG_FORWARD & vrh->resolution_algo) |
1564 | { | 1564 | { |
1565 | // if premature match found don't start bw resultion | 1565 | // if premature match found don't start bw resolution |
1566 | if (1 == delegation_chain_fw_resolution_start (vrh)) | 1566 | if (1 == delegation_chain_fw_resolution_start (vrh)) |
1567 | return; | 1567 | return; |
1568 | delegation_chain_bw_resolution_start (vrh); | 1568 | delegation_chain_bw_resolution_start (vrh); |
@@ -1603,8 +1603,8 @@ handle_delegate_collection_cb (void *cls, | |||
1603 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Invalid delegate found\n"); | 1603 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Invalid delegate found\n"); |
1604 | continue; | 1604 | continue; |
1605 | } | 1605 | } |
1606 | // only add the entries that are explicity marked as private | 1606 | // only add the entries that are explicitly marked as private |
1607 | // and therefor symbolize the end of a chain | 1607 | // and therefore symbolize the end of a chain |
1608 | if (rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE) | 1608 | if (rd[i].flags & GNUNET_GNSRECORD_RF_PRIVATE) |
1609 | { | 1609 | { |
1610 | del_entry = GNUNET_new (struct DelegateRecordEntry); | 1610 | del_entry = GNUNET_new (struct DelegateRecordEntry); |