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_store.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_store.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerstore/test_peerstore_api_store.c b/src/peerstore/test_peerstore_api_store.c index ff02ac3ab..53ace3d4a 100644 --- a/src/peerstore/test_peerstore_api_store.c +++ b/src/peerstore/test_peerstore_api_store.c | |||
@@ -54,7 +54,7 @@ int test3_cont2(void *cls, | |||
54 | } | 54 | } |
55 | GNUNET_assert(count == 1); | 55 | GNUNET_assert(count == 1); |
56 | ok = 0; | 56 | ok = 0; |
57 | GNUNET_PEERSTORE_disconnect(h); | 57 | GNUNET_PEERSTORE_disconnect(h, GNUNET_YES); |
58 | GNUNET_SCHEDULER_shutdown(); | 58 | GNUNET_SCHEDULER_shutdown(); |
59 | return GNUNET_YES; | 59 | return GNUNET_YES; |
60 | } | 60 | } |