diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-07-09 14:46:56 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-07-09 14:46:56 +0000 |
commit | e5d7c67c647e9620c5c1ae77e133a74698443ee1 (patch) | |
tree | 1f49323d5963cc4a77e2648b29744ad5cf6291bf /src/peerstore/test_peerstore_api_iterate.c | |
parent | 696df0a02abec9683b34c3097cff4448ad154367 (diff) | |
download | gnunet-e5d7c67c647e9620c5c1ae77e133a74698443ee1.tar.gz gnunet-e5d7c67c647e9620c5c1ae77e133a74698443ee1.zip |
Added flag to API disconnect method to send pending store requests before disconnecting.
Added a test case for it.
Diffstat (limited to 'src/peerstore/test_peerstore_api_iterate.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_iterate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerstore/test_peerstore_api_iterate.c b/src/peerstore/test_peerstore_api_iterate.c index 515e8f7df..0b864aea5 100644 --- a/src/peerstore/test_peerstore_api_iterate.c +++ b/src/peerstore/test_peerstore_api_iterate.c | |||
@@ -53,7 +53,7 @@ iter3_cb(void *cls, | |||
53 | } | 53 | } |
54 | GNUNET_assert(count == 3); | 54 | GNUNET_assert(count == 3); |
55 | ok = 0; | 55 | ok = 0; |
56 | GNUNET_PEERSTORE_disconnect(h); | 56 | GNUNET_PEERSTORE_disconnect(h, GNUNET_NO); |
57 | GNUNET_SCHEDULER_shutdown(); | 57 | GNUNET_SCHEDULER_shutdown(); |
58 | return GNUNET_YES; | 58 | return GNUNET_YES; |
59 | } | 59 | } |