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/perf_peerstore_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/perf_peerstore_store.c')
-rw-r--r-- | src/peerstore/perf_peerstore_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerstore/perf_peerstore_store.c b/src/peerstore/perf_peerstore_store.c index e7a8fec04..bdf70272c 100644 --- a/src/peerstore/perf_peerstore_store.c +++ b/src/peerstore/perf_peerstore_store.c | |||
@@ -43,7 +43,7 @@ void | |||
43 | disconnect() | 43 | disconnect() |
44 | { | 44 | { |
45 | if(NULL != h) | 45 | if(NULL != h) |
46 | GNUNET_PEERSTORE_disconnect(h); | 46 | GNUNET_PEERSTORE_disconnect(h, GNUNET_YES); |
47 | GNUNET_SCHEDULER_shutdown(); | 47 | GNUNET_SCHEDULER_shutdown(); |
48 | } | 48 | } |
49 | 49 | ||