From 769dbe18c0170dfa8b245cfda276de24d615f18b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 7 May 2010 06:54:15 +0000 Subject: nicer error msg --- src/testing/test_testing.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/testing/test_testing.c b/src/testing/test_testing.c index 4a014de66..925579a71 100644 --- a/src/testing/test_testing.c +++ b/src/testing/test_testing.c @@ -31,7 +31,12 @@ static int ok; static void end_cb (void *cls, const char *emsg) { - GNUNET_assert (emsg == NULL); + if (emsg != NULL) + { + fprintf (stderr, "Error terminaing daemon: `%s'\n", + emsg); + return; + } #if VERBOSE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Daemon terminated, will now exit.\n"); #endif -- cgit v1.2.3