diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/peerstore/test_peerstore_api_sync.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/peerstore/test_peerstore_api_sync.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_sync.c | 7 |
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 | |||
120 | static void | 121 | static void |
121 | disc_cont (void *cls) | 122 | disc_cont (void *cls) |
122 | { | 123 | { |
@@ -127,6 +128,7 @@ disc_cont (void *cls) | |||
127 | NULL); | 128 | NULL); |
128 | } | 129 | } |
129 | 130 | ||
131 | |||
130 | static void | 132 | static void |
131 | store_cont (void *cls, int success) | 133 | store_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 */ |