diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:54:06 +0000 |
commit | 5746309cb4be2073d550ad7a6885e918631dbc38 (patch) | |
tree | 89455bc4aadf977816b38df13f990372cd81d71a /src/dht/test_dhtlog.c | |
parent | 6fd3e715cae09fa6e657c96f1c6f9711ee51f42f (diff) | |
download | gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.tar.gz gnunet-5746309cb4be2073d550ad7a6885e918631dbc38.zip |
indentation
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; |