diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-12-18 17:39:01 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-12-18 17:39:01 +0000 |
commit | 42c34f9b26b6b0222a10f61850af73914ce5a359 (patch) | |
tree | 35d3e09cba60749f93c0ddc0f9032fcd89a22288 /src/peerstore/test_peerstore_api_store.c | |
parent | fb12af8319a84389a536ab2f3735daf3b24f11bd (diff) | |
download | gnunet-42c34f9b26b6b0222a10f61850af73914ce5a359.tar.gz gnunet-42c34f9b26b6b0222a10f61850af73914ce5a359.zip |
towards fixing #3581
Diffstat (limited to 'src/peerstore/test_peerstore_api_store.c')
-rw-r--r-- | src/peerstore/test_peerstore_api_store.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/peerstore/test_peerstore_api_store.c b/src/peerstore/test_peerstore_api_store.c index 794a2b048..5bd1a5c62 100644 --- a/src/peerstore/test_peerstore_api_store.c +++ b/src/peerstore/test_peerstore_api_store.c | |||
@@ -40,8 +40,7 @@ static char *val3 = "test_peerstore_api_store_val3--"; | |||
40 | static int count = 0; | 40 | static int count = 0; |
41 | 41 | ||
42 | static int | 42 | static int |
43 | test3_cont2 (void *cls, | 43 | test3_cont2 (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
44 | const struct GNUNET_PEERSTORE_Record *record, | ||
45 | const char *emsg) | 44 | const char *emsg) |
46 | { | 45 | { |
47 | if (NULL != emsg) | 46 | if (NULL != emsg) |
@@ -86,8 +85,7 @@ test3 () | |||
86 | 85 | ||
87 | 86 | ||
88 | static int | 87 | static int |
89 | test2_cont2 (void *cls, | 88 | test2_cont2 (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
90 | const struct GNUNET_PEERSTORE_Record *record, | ||
91 | const char *emsg) | 89 | const char *emsg) |
92 | { | 90 | { |
93 | if (NULL != emsg) | 91 | if (NULL != emsg) |
@@ -133,8 +131,7 @@ test2 () | |||
133 | 131 | ||
134 | 132 | ||
135 | static int | 133 | static int |
136 | test1_cont2 (void *cls, | 134 | test1_cont2 (void *cls, const struct GNUNET_PEERSTORE_Record *record, |
137 | const struct GNUNET_PEERSTORE_Record *record, | ||
138 | const char *emsg) | 135 | const char *emsg) |
139 | { | 136 | { |
140 | if (NULL != emsg) | 137 | if (NULL != emsg) |
@@ -178,8 +175,7 @@ test1 () | |||
178 | 175 | ||
179 | 176 | ||
180 | static void | 177 | static void |
181 | run (void *cls, | 178 | run (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg, |
182 | const struct GNUNET_CONFIGURATION_Handle *cfg, | ||
183 | struct GNUNET_TESTING_Peer *peer) | 179 | struct GNUNET_TESTING_Peer *peer) |
184 | { | 180 | { |
185 | h = GNUNET_PEERSTORE_connect (cfg); | 181 | h = GNUNET_PEERSTORE_connect (cfg); |