From 8f155ca0b9f59fd33efc2b8a1180abf2fdb865e6 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Thu, 17 Nov 2011 15:11:25 +0000 Subject: Changed logging for testcase --- src/mesh/test_mesh_2dtorus.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/mesh/test_mesh_2dtorus.c') 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 } -- cgit v1.2.3