diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/credential/gnunet-credential.c | 5 | ||||
-rw-r--r-- | src/credential/gnunet-service-credential.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/credential/gnunet-credential.c b/src/credential/gnunet-credential.c index 58f7cf50d..03b017208 100644 --- a/src/credential/gnunet-credential.c +++ b/src/credential/gnunet-credential.c | |||
@@ -489,6 +489,11 @@ add_continuation (void *cls, int32_t success, const char *emsg) | |||
489 | struct GNUNET_NAMESTORE_QueueEntry **qe = cls; | 489 | struct GNUNET_NAMESTORE_QueueEntry **qe = cls; |
490 | *qe = NULL; | 490 | *qe = NULL; |
491 | 491 | ||
492 | if(GNUNET_OK == success) | ||
493 | printf ("Adding successful.\n"); | ||
494 | else | ||
495 | fprintf (stderr, "Error occured during adding, shutting down.\n"); | ||
496 | |||
492 | GNUNET_SCHEDULER_shutdown (); | 497 | GNUNET_SCHEDULER_shutdown (); |
493 | } | 498 | } |
494 | 499 | ||
diff --git a/src/credential/gnunet-service-credential.c b/src/credential/gnunet-service-credential.c index daffc0bb9..4753e8e3b 100644 --- a/src/credential/gnunet-service-credential.c +++ b/src/credential/gnunet-service-credential.c | |||
@@ -1261,7 +1261,7 @@ delegation_chain_bw_resolution_start (void *cls) | |||
1261 | { | 1261 | { |
1262 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No delegates found\n"); | 1262 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No delegates found\n"); |
1263 | send_lookup_response (vrh); | 1263 | send_lookup_response (vrh); |
1264 | return 2; | 1264 | return 1; |
1265 | } | 1265 | } |
1266 | 1266 | ||
1267 | // Pre-check with vrh->dele_chain_.. if match issuer_key | 1267 | // Pre-check with vrh->dele_chain_.. if match issuer_key |
@@ -1343,7 +1343,7 @@ delegation_chain_fw_resolution_start (void *cls) | |||
1343 | { | 1343 | { |
1344 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No delegations found\n"); | 1344 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "No delegations found\n"); |
1345 | send_lookup_response (vrh); | 1345 | send_lookup_response (vrh); |
1346 | return 2; | 1346 | return 1; |
1347 | } | 1347 | } |
1348 | 1348 | ||
1349 | // Pre-check with vrh->dele_chain_.. if match issuer_key | 1349 | // Pre-check with vrh->dele_chain_.. if match issuer_key |