diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-11-17 15:11:25 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-11-17 15:11:25 +0000 |
commit | 8f155ca0b9f59fd33efc2b8a1180abf2fdb865e6 (patch) | |
tree | cd3b0b267f53a8b014f1db4e3b6585c5afef153a /src/mesh | |
parent | 8b4f9484ce8fa5a050456993c25f80b6de0618b7 (diff) | |
download | gnunet-8f155ca0b9f59fd33efc2b8a1180abf2fdb865e6.tar.gz gnunet-8f155ca0b9f59fd33efc2b8a1180abf2fdb865e6.zip |
Changed logging for testcase
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/test_mesh_2dtorus.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesh/test_mesh_2dtorus.c b/src/mesh/test_mesh_2dtorus.c index 9b15e3613..718ab0864 100644 --- a/src/mesh/test_mesh_2dtorus.c +++ b/src/mesh/test_mesh_2dtorus.c | |||
@@ -103,19 +103,18 @@ shutdown_callback (void *cls, const char *emsg) | |||
103 | { | 103 | { |
104 | if (emsg != NULL) | 104 | if (emsg != NULL) |
105 | { | 105 | { |
106 | #if VERBOSE | 106 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
107 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 107 | "test: Shutdown of peers failed! (%s)\n", |
108 | "test: Shutdown of peers failed!\n"); | 108 | emsg); |
109 | #endif | ||
110 | ok--; | 109 | ok--; |
111 | } | 110 | } |
111 | #if VERBOSE | ||
112 | else | 112 | else |
113 | { | 113 | { |
114 | #if VERBOSE | ||
115 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
116 | "test: All peers successfully shut down!\n"); | 115 | "test: All peers successfully shut down!\n"); |
117 | #endif | ||
118 | } | 116 | } |
117 | #endif | ||
119 | } | 118 | } |
120 | 119 | ||
121 | 120 | ||