diff options
Diffstat (limited to 'src/namestore/test_namestore_api_store.c')
-rw-r--r-- | src/namestore/test_namestore_api_store.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/test_namestore_api_store.c b/src/namestore/test_namestore_api_store.c index 1bb85ac47..69c47337f 100644 --- a/src/namestore/test_namestore_api_store.c +++ b/src/namestore/test_namestore_api_store.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 | ||
147 | static void | 147 | static void |
148 | put_cont (void *cls, int32_t success, const char *emsg) | 148 | put_cont (void *cls, int32_t success, const char *emsg) |
149 | { | 149 | { |
150 | const char *name = cls; | 150 | const char *name = cls; |
@@ -153,7 +153,7 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
153 | GNUNET_assert (NULL != cls); | 153 | GNUNET_assert (NULL != cls); |
154 | 154 | ||
155 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 155 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
156 | "Name store added record for `%s': %s\n", | 156 | "Name store added record for `%s': %s\n", |
157 | name, | 157 | name, |
158 | (success == GNUNET_OK) ? "SUCCESS" : "FAIL"); | 158 | (success == GNUNET_OK) ? "SUCCESS" : "FAIL"); |
159 | 159 | ||
@@ -166,7 +166,7 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
166 | 166 | ||
167 | 167 | ||
168 | static void | 168 | static void |
169 | run (void *cls, | 169 | run (void *cls, |
170 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 170 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
171 | struct GNUNET_TESTING_Peer *peer) | 171 | struct GNUNET_TESTING_Peer *peer) |
172 | { | 172 | { |
@@ -174,7 +174,7 @@ run (void *cls, | |||
174 | char *hostkey_file; | 174 | char *hostkey_file; |
175 | const char * name = "dummy.dummy.gnunet"; | 175 | const char * name = "dummy.dummy.gnunet"; |
176 | 176 | ||
177 | endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, | 177 | endbadly_task = GNUNET_SCHEDULER_add_delayed (TIMEOUT, |
178 | &endbadly, NULL); | 178 | &endbadly, NULL); |
179 | GNUNET_asprintf (&hostkey_file, | 179 | GNUNET_asprintf (&hostkey_file, |
180 | "zonefiles%s%s", | 180 | "zonefiles%s%s", |
@@ -211,7 +211,7 @@ int | |||
211 | main (int argc, char *argv[]) | 211 | main (int argc, char *argv[]) |
212 | { | 212 | { |
213 | res = 1; | 213 | res = 1; |
214 | if (0 != | 214 | if (0 != |
215 | GNUNET_TESTING_service_run ("test-namestore-api", | 215 | GNUNET_TESTING_service_run ("test-namestore-api", |
216 | "namestore", | 216 | "namestore", |
217 | "test_namestore_api.conf", | 217 | "test_namestore_api.conf", |