error msg
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 16 Sep 2011 09:19:25 +0000 (09:19 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 16 Sep 2011 09:19:25 +0000 (09:19 +0000)
src/transport/test_transport_api.c

index ba7dc7cc184a6871e6fe69410b7509459fea1cc7..cf5b471f8db43e5b51e50a4a89548de87c8795ae 100644 (file)
@@ -37,7 +37,7 @@
 #include "transport.h"
 #include "transport-testing.h"
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 
 #define VERBOSE_ARM GNUNET_NO
 
@@ -116,7 +116,10 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
     GNUNET_SCHEDULER_cancel (send_task);
 
   if (cc != NULL)
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Fail! Could not connect peers\n"));
     GNUNET_TRANSPORT_TESTING_connect_peers_cancel (cc);
+  }
 
   if (th != NULL)
     GNUNET_TRANSPORT_notify_transmit_ready_cancel (th);