aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/test_peerstore_api_store.c
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-12-18 17:39:01 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-12-18 17:39:01 +0000
commit42c34f9b26b6b0222a10f61850af73914ce5a359 (patch)
tree35d3e09cba60749f93c0ddc0f9032fcd89a22288 /src/peerstore/test_peerstore_api_store.c
parentfb12af8319a84389a536ab2f3735daf3b24f11bd (diff)
downloadgnunet-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.c12
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--";
40static int count = 0; 40static int count = 0;
41 41
42static int 42static int
43test3_cont2 (void *cls, 43test3_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
88static int 87static int
89test2_cont2 (void *cls, 88test2_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
135static int 133static int
136test1_cont2 (void *cls, 134test1_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
180static void 177static void
181run (void *cls, 178run (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);