additional error message
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 1 Jun 2012 08:53:44 +0000 (08:53 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 1 Jun 2012 08:53:44 +0000 (08:53 +0000)
src/transport/plugin_transport_unix.c

index 2725551e050d1732e4c6e28831a5093e6ed4f97b..057479d534554e9ba94f5c9354bffa6271a692c8 100644 (file)
@@ -756,7 +756,11 @@ unix_plugin_send (void *cls,
   if (GNUNET_OK != GNUNET_CONTAINER_multihashmap_contains_value(plugin->session_map,
       &session->target.hashPubKey, session))
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Invalid session for peer `%s' `%s'\n",
+                GNUNET_i2s (&session->target),
+                (char *) session->addr);
     GNUNET_break (0);
+
     return GNUNET_SYSERR;
   }