Avoid trying to disconnect a neighbour twice
[oweals/gnunet.git] / src / transport / gnunet-service-transport_plugins.c
index db2bbd19fe2d462d913550486f3254b9a3382171..473bf3524338d8dccca6a9e5c138a94486ee7b51 100644 (file)
@@ -409,7 +409,12 @@ GST_plugins_a2s (const struct GNUNET_HELLO_Address *address)
     return TRANSPORT_SESSION_INBOUND_STRING; /* Addresse with length 0 are inbound, address->address itself may be NULL */
   api = GST_plugins_printer_find (address->transport_name);
   if (NULL == api)
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+                "Failed to find transport plugin `%s'\n",
+                address->transport_name);
     return "<plugin unknown>";
+  }
   if (0 == address->address_length)
   {
     GNUNET_snprintf (unable_to_show,