aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/test_peerstore_api_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerstore/test_peerstore_api_sync.c')
-rw-r--r--src/peerstore/test_peerstore_api_sync.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/peerstore/test_peerstore_api_sync.c b/src/peerstore/test_peerstore_api_sync.c
index bfeae6ed8..4c826c654 100644
--- a/src/peerstore/test_peerstore_api_sync.c
+++ b/src/peerstore/test_peerstore_api_sync.c
@@ -117,6 +117,7 @@ test_cont (void *cls)
117 NULL); 117 NULL);
118} 118}
119 119
120
120static void 121static void
121disc_cont (void *cls) 122disc_cont (void *cls)
122{ 123{
@@ -127,6 +128,7 @@ disc_cont (void *cls)
127 NULL); 128 NULL);
128} 129}
129 130
131
130static void 132static void
131store_cont (void *cls, int success) 133store_cont (void *cls, int success)
132{ 134{
@@ -135,11 +137,11 @@ store_cont (void *cls, int success)
135 a chance to actually finish the operation; otherwise, 137 a chance to actually finish the operation; otherwise,
136 the test may fail non-deterministically if the new 138 the test may fail non-deterministically if the new
137 connection is faster than the cleanup routine of the 139 connection is faster than the cleanup routine of the
138 old one. */ 140 old one. */GNUNET_SCHEDULER_add_now (&disc_cont,
139 GNUNET_SCHEDULER_add_now (&disc_cont,
140 NULL); 141 NULL);
141} 142}
142 143
144
143/** 145/**
144 * Actually run the test. 146 * Actually run the test.
145 */ 147 */
@@ -192,4 +194,5 @@ main (int argc, char *argv[])
192 return ok; 194 return ok;
193} 195}
194 196
197
195/* end of test_peerstore_api_sync.c */ 198/* end of test_peerstore_api_sync.c */