aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-05-07 06:54:15 +0000
committerChristian Grothoff <christian@grothoff.org>2010-05-07 06:54:15 +0000
commit769dbe18c0170dfa8b245cfda276de24d615f18b (patch)
tree56374d9e2b9ea9de3902b819403b2fea7c6edcb3 /src/testing
parent9a0c539ac52e3589061e384587ebeff5a3c7c0bf (diff)
downloadgnunet-769dbe18c0170dfa8b245cfda276de24d615f18b.tar.gz
gnunet-769dbe18c0170dfa8b245cfda276de24d615f18b.zip
nicer error msg
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_testing.c7
1 files changed, 6 insertions, 1 deletions
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;
31static void 31static void
32end_cb (void *cls, const char *emsg) 32end_cb (void *cls, const char *emsg)
33{ 33{
34 GNUNET_assert (emsg == NULL); 34 if (emsg != NULL)
35 {
36 fprintf (stderr, "Error terminaing daemon: `%s'\n",
37 emsg);
38 return;
39 }
35#if VERBOSE 40#if VERBOSE
36 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Daemon terminated, will now exit.\n"); 41 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Daemon terminated, will now exit.\n");
37#endif 42#endif