aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_lookup_public.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_public.c')
-rw-r--r--src/namestore/test_namestore_api_lookup_public.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/test_namestore_api_lookup_public.c b/src/namestore/test_namestore_api_lookup_public.c
index 3106c1c4f..f2b009ac5 100644
--- a/src/namestore/test_namestore_api_lookup_public.c
+++ b/src/namestore/test_namestore_api_lookup_public.c
@@ -144,7 +144,7 @@ name_lookup_proc (void *cls,
144 &pubkey, name, &rd_decrypt_cb, (void *) name)); 144 &pubkey, name, &rd_decrypt_cb, (void *) name));
145} 145}
146 146
147static void 147static void
148put_cont (void *cls, int32_t success, const char *emsg) 148put_cont (void *cls, int32_t success, const char *emsg)
149{ 149{
150 const char *name = cls; 150 const char *name = cls;
@@ -154,7 +154,7 @@ put_cont (void *cls, int32_t success, const char *emsg)
154 GNUNET_assert (NULL != cls); 154 GNUNET_assert (NULL != cls);
155 155
156 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 156 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
157 "Name store added record for `%s': %s\n", 157 "Name store added record for `%s': %s\n",
158 name, 158 name,
159 (success == GNUNET_OK) ? "SUCCESS" : "FAIL"); 159 (success == GNUNET_OK) ? "SUCCESS" : "FAIL");
160 160
@@ -168,7 +168,7 @@ put_cont (void *cls, int32_t success, const char *emsg)
168 168
169 169
170static void 170static void
171run (void *cls, 171run (void *cls,
172 const struct GNUNET_CONFIGURATION_Handle *cfg, 172 const struct GNUNET_CONFIGURATION_Handle *cfg,
173 struct GNUNET_TESTING_Peer *peer) 173 struct GNUNET_TESTING_Peer *peer)
174{ 174{
@@ -176,7 +176,7 @@ run (void *cls,
176 char *hostkey_file; 176 char *hostkey_file;
177 const char * name = "dummy.dummy.gnunet"; 177 const char * name = "dummy.dummy.gnunet";
178 178
179 endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, 179 endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT,
180 &endbadly, NULL); 180 &endbadly, NULL);
181 GNUNET_asprintf (&hostkey_file, 181 GNUNET_asprintf (&hostkey_file,
182 "zonefiles%s%s", 182 "zonefiles%s%s",
@@ -213,7 +213,7 @@ int
213main (int argc, char *argv[]) 213main (int argc, char *argv[])
214{ 214{
215 res = 1; 215 res = 1;
216 if (0 != 216 if (0 !=
217 GNUNET_TESTING_service_run ("test-namestore-api", 217 GNUNET_TESTING_service_run ("test-namestore-api",
218 "namestore", 218 "namestore",
219 "test_namestore_api.conf", 219 "test_namestore_api.conf",