aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-16 11:25:20 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-16 11:25:20 +0000
commita86e52c253d4d4157b328c4cb288076b593d31dc (patch)
tree58bc5ef4b4dbdc8405ca916e96d82d923dd80077 /src
parenta1d7d541d65b18b86c0e316b0a34de4168bf8b8c (diff)
downloadgnunet-a86e52c253d4d4157b328c4cb288076b593d31dc.tar.gz
gnunet-a86e52c253d4d4157b328c4cb288076b593d31dc.zip
-code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/fs/test_fs_namespace.c10
-rw-r--r--src/fs/test_fs_search.c10
2 files changed, 0 insertions, 20 deletions
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c
index 9305a501f..e9cdb3676 100644
--- a/src/fs/test_fs_namespace.c
+++ b/src/fs/test_fs_namespace.c
@@ -69,9 +69,6 @@ setup_peer (struct PeerContext *p, const char *cfgname)
69 p->arm_proc = 69 p->arm_proc =
70 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm", 70 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
71 "gnunet-service-arm", 71 "gnunet-service-arm",
72#if VERBOSE
73 "-L", "DEBUG",
74#endif
75 "-c", cfgname, NULL); 72 "-c", cfgname, NULL);
76#endif 73#endif
77 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); 74 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
@@ -378,9 +375,6 @@ main (int argc, char *argv[])
378 "test-fs-namespace", 375 "test-fs-namespace",
379 "-c", 376 "-c",
380 "test_fs_namespace_data.conf", 377 "test_fs_namespace_data.conf",
381#if VERBOSE
382 "-L", "DEBUG",
383#endif
384 NULL 378 NULL
385 }; 379 };
386 struct GNUNET_GETOPT_CommandLineOption options[] = { 380 struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -388,11 +382,7 @@ main (int argc, char *argv[])
388 }; 382 };
389 383
390 GNUNET_log_setup ("test_fs_namespace", 384 GNUNET_log_setup ("test_fs_namespace",
391#if VERBOSE
392 "DEBUG",
393#else
394 "WARNING", 385 "WARNING",
395#endif
396 NULL); 386 NULL);
397 GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx, 387 GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx,
398 "test-fs-namespace", "nohelp", options, &run, NULL); 388 "test-fs-namespace", "nohelp", options, &run, NULL);
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c
index a3a9b5444..04c5897ac 100644
--- a/src/fs/test_fs_search.c
+++ b/src/fs/test_fs_search.c
@@ -176,9 +176,6 @@ setup_peer (struct PeerContext *p, const char *cfgname)
176 p->arm_proc = 176 p->arm_proc =
177 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm", 177 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
178 "gnunet-service-arm", 178 "gnunet-service-arm",
179#if VERBOSE
180 "-L", "DEBUG",
181#endif
182 "-c", cfgname, NULL); 179 "-c", cfgname, NULL);
183#endif 180#endif
184 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); 181 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
@@ -254,9 +251,6 @@ main (int argc, char *argv[])
254 "test-fs-search", 251 "test-fs-search",
255 "-c", 252 "-c",
256 "test_fs_search_data.conf", 253 "test_fs_search_data.conf",
257#if VERBOSE
258 "-L", "DEBUG",
259#endif
260 NULL 254 NULL
261 }; 255 };
262 struct GNUNET_GETOPT_CommandLineOption options[] = { 256 struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -264,11 +258,7 @@ main (int argc, char *argv[])
264 }; 258 };
265 259
266 GNUNET_log_setup ("test_fs_search", 260 GNUNET_log_setup ("test_fs_search",
267#if VERBOSE
268 "DEBUG",
269#else
270 "WARNING", 261 "WARNING",
271#endif
272 NULL); 262 NULL);
273 GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx, 263 GNUNET_PROGRAM_run ((sizeof (argvx) / sizeof (char *)) - 1, argvx,
274 "test-fs-search", "nohelp", options, &run, NULL); 264 "test-fs-search", "nohelp", options, &run, NULL);