summaryrefslogtreecommitdiff
path: root/src
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
parent9a0c539ac52e3589061e384587ebeff5a3c7c0bf (diff)
nicer error msg
Diffstat (limited to 'src')
-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;
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