projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a0c539
)
nicer error msg
author
Christian Grothoff
<christian@grothoff.org>
Fri, 7 May 2010 06:54:15 +0000
(06:54 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 7 May 2010 06:54:15 +0000
(06:54 +0000)
src/testing/test_testing.c
patch
|
blob
|
history
diff --git
a/src/testing/test_testing.c
b/src/testing/test_testing.c
index 4a014de6602b109d5533ee7caaeccb86fce5c81b..925579a71784bf327300fc2f4731eb36a47c83db 100644
(file)
--- 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