gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11245 - gnunet/src/testing


From: gnunet
Subject: [GNUnet-SVN] r11245 - gnunet/src/testing
Date: Fri, 7 May 2010 08:54:15 +0200

Author: grothoff
Date: 2010-05-07 08:54:15 +0200 (Fri, 07 May 2010)
New Revision: 11245

Modified:
   gnunet/src/testing/test_testing.c
Log:
nicer error msg

Modified: gnunet/src/testing/test_testing.c
===================================================================
--- gnunet/src/testing/test_testing.c   2010-05-07 06:51:51 UTC (rev 11244)
+++ gnunet/src/testing/test_testing.c   2010-05-07 06:54:15 UTC (rev 11245)
@@ -31,7 +31,12 @@
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]