diff options
author | Andreas Ebner <a.e.bner@web.de> | 2019-09-20 10:49:02 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:18:20 +0200 |
commit | 3099a7c25cf6b11b0f1909e5a2651d65c0e921c7 (patch) | |
tree | c8f10fe3551b35e40d6adcb5e1c68771a12a104e /src/credential/credential_api.c | |
parent | 5be14856a356b087ad97b479efd9b06172fdfd2f (diff) | |
download | gnunet-3099a7c25cf6b11b0f1909e5a2651d65c0e921c7.tar.gz gnunet-3099a7c25cf6b11b0f1909e5a2651d65c0e921c7.zip |
Cleanup TODOs, bugfix in cleanup and start of bidirectional chain resolution:
- removed and/or implemented all remaining TODOs
- fixed a bug in cleanup_handle() which caused to not cleanup correctly when a solution was prematurely found
- delegation_chain_bw/fw_resolution_start() not has a return value to indicate whether a solution was prematurely found
- cleaned up the test_... files (an additional cleanup commit might follow)
Diffstat (limited to 'src/credential/credential_api.c')
-rw-r--r-- | src/credential/credential_api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/credential/credential_api.c b/src/credential/credential_api.c index a3eecd52d..7acce7d9e 100644 --- a/src/credential/credential_api.c +++ b/src/credential/credential_api.c | |||
@@ -249,7 +249,7 @@ handle_result (void *cls, const struct DelegationChainResultMessage *vr_msg) | |||
249 | if (GNUNET_NO == ntohl (vr_msg->del_found)) | 249 | if (GNUNET_NO == ntohl (vr_msg->del_found)) |
250 | { | 250 | { |
251 | proc (proc_cls, 0, NULL, 0, | 251 | proc (proc_cls, 0, NULL, 0, |
252 | NULL); // TODO | 252 | NULL); |
253 | } | 253 | } |
254 | else | 254 | else |
255 | { | 255 | { |
@@ -297,7 +297,6 @@ handle_intermediate (void *cls, const struct DelegationChainIntermediateMessage | |||
297 | dd, | 297 | dd, |
298 | 0, | 298 | 0, |
299 | NULL)); | 299 | NULL)); |
300 | sleep(2); | ||
301 | proc (proc_cls, dd, is_bw); | 300 | proc (proc_cls, dd, is_bw); |
302 | } | 301 | } |
303 | 302 | ||