- debug
authorBart Polot <bart@net.in.tum.de>
Fri, 18 Oct 2013 15:29:21 +0000 (15:29 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 18 Oct 2013 15:29:21 +0000 (15:29 +0000)
src/mesh/gnunet-service-mesh_peer.c

index d4a1b986315c2c2eff0a904831aa78304a8cc935..fab01ebd313b84f9ad62f455e4a7adb1e4b265dd 100644 (file)
@@ -1580,6 +1580,9 @@ GMP_remove_connection (struct MeshPeer *peer,
   if (NULL == peer || NULL == peer->connections)
   {
     GNUNET_break (0);
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
+         "Peer %s is not a neighbor!\n",
+         GMP_2s (peer));
     return GNUNET_SYSERR;
   }
   return GNUNET_CONTAINER_multihashmap_remove (peer->connections,