diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-17 15:47:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-17 15:47:54 +0000 |
commit | 31ef7d36f5c003767aeedee385411f87ad1a9791 (patch) | |
tree | 81b843bd3e0a9a6a67b7e2d747be1a01f8c96c24 /src/nat/test_nat.c | |
parent | 3dc2315c9c73418d37c8390ad7c8400c55be146f (diff) | |
download | gnunet-31ef7d36f5c003767aeedee385411f87ad1a9791.tar.gz gnunet-31ef7d36f5c003767aeedee385411f87ad1a9791.zip |
-fix
Diffstat (limited to 'src/nat/test_nat.c')
-rw-r--r-- | src/nat/test_nat.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/nat/test_nat.c b/src/nat/test_nat.c index 98b57b34d..e7325eb0c 100644 --- a/src/nat/test_nat.c +++ b/src/nat/test_nat.c | |||
@@ -41,9 +41,6 @@ | |||
41 | #include "gnunet_nat_lib.h" | 41 | #include "gnunet_nat_lib.h" |
42 | 42 | ||
43 | 43 | ||
44 | #define VERBOSE GNUNET_NO | ||
45 | |||
46 | |||
47 | /** | 44 | /** |
48 | * Time to wait before stopping NAT, in seconds | 45 | * Time to wait before stopping NAT, in seconds |
49 | */ | 46 | */ |
@@ -164,28 +161,14 @@ main (int argc, char *const argv[]) | |||
164 | "test-nat", | 161 | "test-nat", |
165 | "-c", | 162 | "-c", |
166 | "test_nat_data.conf", | 163 | "test_nat_data.conf", |
167 | "-L", | ||
168 | #if VERBOSE | ||
169 | "DEBUG", | ||
170 | #else | ||
171 | "WARNING", | ||
172 | #endif | ||
173 | NULL | 164 | NULL |
174 | }; | 165 | }; |
175 | |||
176 | GNUNET_log_setup ("test-nat", | 166 | GNUNET_log_setup ("test-nat", |
177 | #if VERBOSE | ||
178 | "DEBUG", | ||
179 | #else | ||
180 | "WARNING", | 167 | "WARNING", |
181 | #endif | ||
182 | NULL); | 168 | NULL); |
183 | |||
184 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 169 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
185 | "Testing NAT library, timeout set to %d seconds\n", TIMEOUT); | 170 | "Testing NAT library, timeout set to %d seconds\n", TIMEOUT); |
186 | 171 | GNUNET_PROGRAM_run (3, argv_prog, "test-nat", "nohelp", options, &run, NULL); | |
187 | GNUNET_PROGRAM_run (5, argv_prog, "test-nat", "nohelp", options, &run, NULL); | ||
188 | |||
189 | return 0; | 172 | return 0; |
190 | } | 173 | } |
191 | 174 | ||