diff options
author | Andreas Ebner <a.e.bner@web.de> | 2019-10-06 12:57:52 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:18:21 +0200 |
commit | 5cc45c7ee6a3ac522e5a1f58010d4efdf4fd102f (patch) | |
tree | 8954896a2fc901593b1e8f27e7838746d04ec52a /src/credential/gnunet-service-credential.c | |
parent | 5ee7ff6e12768971ac2145b8e21a45d1c730b274 (diff) | |
download | gnunet-5cc45c7ee6a3ac522e5a1f58010d4efdf4fd102f.tar.gz gnunet-5cc45c7ee6a3ac522e5a1f58010d4efdf4fd102f.zip |
Proper print on add callback, fixed return value in .._start, both cases require same handling therefore same return value
Diffstat (limited to 'src/credential/gnunet-service-credential.c')
-rw-r--r-- | src/credential/gnunet-service-credential.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |