From: Bart Polot Date: Thu, 17 Nov 2011 15:11:25 +0000 (+0000) Subject: Changed logging for testcase X-Git-Tag: initial-import-from-subversion-38251~15890 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8f155ca0b9f59fd33efc2b8a1180abf2fdb865e6;p=oweals%2Fgnunet.git Changed logging for testcase --- 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) { if (emsg != NULL) { -#if VERBOSE - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "test: Shutdown of peers failed!\n"); -#endif + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "test: Shutdown of peers failed! (%s)\n", + emsg); ok--; } +#if VERBOSE else { -#if VERBOSE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: All peers successfully shut down!\n"); -#endif } +#endif }