diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-27 12:31:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-27 12:31:29 +0000 |
commit | 62228e9e0beb7e96812fd24b72d85184f87b8471 (patch) | |
tree | 6dd3148a7e73d04d50059c0fb5fc7b0b84f755af /src/peerstore/test_peerstore_api_sync.c | |
parent | 339b99b24d5247b4c1d2397c53e9aef471c4b3fe (diff) | |
download | gnunet-62228e9e0beb7e96812fd24b72d85184f87b8471.tar.gz gnunet-62228e9e0beb7e96812fd24b72d85184f87b8471.zip |
-fix testcase
Diffstat (limited to 'src/peerstore/test_peerstore_api_sync.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerstore/test_peerstore_api_sync.c b/src/peerstore/test_peerstore_api_sync.c index 06d100100..a09763d05 100644 --- a/src/peerstore/test_peerstore_api_sync.c +++ b/src/peerstore/test_peerstore_api_sync.c | |||
@@ -92,6 +92,7 @@ iterate_cb (void *cls, | |||
92 | GNUNET_PEERSTORE_disconnect (h, | 92 | GNUNET_PEERSTORE_disconnect (h, |
93 | GNUNET_NO); | 93 | GNUNET_NO); |
94 | GNUNET_SCHEDULER_shutdown (); | 94 | GNUNET_SCHEDULER_shutdown (); |
95 | return; | ||
95 | } | 96 | } |
96 | rec_val = record->value; | 97 | rec_val = record->value; |
97 | GNUNET_break (0 == strcmp (rec_val, val)); | 98 | GNUNET_break (0 == strcmp (rec_val, val)); |
@@ -159,7 +160,6 @@ run (void *cls, | |||
159 | struct GNUNET_TESTING_Peer *peer) | 160 | struct GNUNET_TESTING_Peer *peer) |
160 | { | 161 | { |
161 | cfg = c; | 162 | cfg = c; |
162 | GNUNET_assert (NULL != h); | ||
163 | memset (&pid, 1, sizeof (pid)); | 163 | memset (&pid, 1, sizeof (pid)); |
164 | test1 (); | 164 | test1 (); |
165 | } | 165 | } |