aboutsummaryrefslogtreecommitdiff
path: root/src/nse/test_nse_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-05-06 01:12:57 +0000
committerChristian Grothoff <christian@grothoff.org>2012-05-06 01:12:57 +0000
commit9fac6b6eefdc9144053f736fd388cb2199a97046 (patch)
tree82740a981b7f6ae973d915aa77797acd9db668b2 /src/nse/test_nse_api.c
parent23d8d343d5c70481ecf78ec4fafc698907f3e8a9 (diff)
downloadgnunet-9fac6b6eefdc9144053f736fd388cb2199a97046.tar.gz
gnunet-9fac6b6eefdc9144053f736fd388cb2199a97046.zip
-removing legacy ifdefs, fixing log statements
Diffstat (limited to 'src/nse/test_nse_api.c')
-rw-r--r--src/nse/test_nse_api.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nse/test_nse_api.c b/src/nse/test_nse_api.c
index f6cde3fe4..658c8b9a5 100644
--- a/src/nse/test_nse_api.c
+++ b/src/nse/test_nse_api.c
@@ -29,8 +29,6 @@
29#include "gnunet_scheduler_lib.h" 29#include "gnunet_scheduler_lib.h"
30#include "gnunet_nse_service.h" 30#include "gnunet_nse_service.h"
31 31
32#define DEBUG_NSE GNUNET_YES
33
34#define START_ARM GNUNET_YES 32#define START_ARM GNUNET_YES
35 33
36static struct GNUNET_NSE_Handle *h; 34static struct GNUNET_NSE_Handle *h;
@@ -147,11 +145,7 @@ check ()
147 char *const argv[] = { "test-nse-api", 145 char *const argv[] = { "test-nse-api",
148 "-c", 146 "-c",
149 "test_nse.conf", 147 "test_nse.conf",
150#if DEBUG_NSE
151 "-L", "DEBUG",
152#else
153 "-L", "WARNING", 148 "-L", "WARNING",
154#endif
155 NULL 149 NULL
156 }; 150 };
157 struct GNUNET_GETOPT_CommandLineOption options[] = { 151 struct GNUNET_GETOPT_CommandLineOption options[] = {
@@ -173,14 +167,9 @@ main (int argc, char *argv[])
173 int ret; 167 int ret;
174 168
175 GNUNET_log_setup ("test_nse_api", 169 GNUNET_log_setup ("test_nse_api",
176#if DEBUG_NSE
177 "DEBUG",
178#else
179 "WARNING", 170 "WARNING",
180#endif
181 NULL); 171 NULL);
182 ret = check (); 172 ret = check ();
183
184 return ret; 173 return ret;
185} 174}
186 175