diff options
Diffstat (limited to 'src/dht/test_dhtlog.c')
-rw-r--r-- | src/dht/test_dhtlog.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/dht/test_dhtlog.c b/src/dht/test_dhtlog.c index 4021f5db5..89ec97d6c 100644 --- a/src/dht/test_dhtlog.c +++ b/src/dht/test_dhtlog.c | |||
@@ -195,9 +195,8 @@ test (struct GNUNET_DHTLOG_Handle *api) | |||
195 | 195 | ||
196 | 196 | ||
197 | static void | 197 | static void |
198 | run (void *cls, | 198 | run (void *cls, char *const *args, const char *cfgfile, |
199 | char *const *args, | 199 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
200 | const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg) | ||
201 | { | 200 | { |
202 | struct GNUNET_DHTLOG_Handle *api; | 201 | struct GNUNET_DHTLOG_Handle *api; |
203 | 202 | ||
@@ -229,8 +228,8 @@ check () | |||
229 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 228 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
230 | GNUNET_GETOPT_OPTION_END | 229 | GNUNET_GETOPT_OPTION_END |
231 | }; | 230 | }; |
232 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, | 231 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, |
233 | argv, "test-dhtlog-api", "nohelp", options, &run, NULL); | 232 | "test-dhtlog-api", "nohelp", options, &run, NULL); |
234 | if (ok != 0) | 233 | if (ok != 0) |
235 | fprintf (stderr, "Test failed with error code: %d\n", ok); | 234 | fprintf (stderr, "Test failed with error code: %d\n", ok); |
236 | return ok; | 235 | return ok; |