aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2013-10-18 15:29:21 +0000
committerbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2013-10-18 15:29:21 +0000
commit57960a8933ccf164ef518a1d4c8e350b13f5cd3c (patch)
treebc5ae9a7b47556daa29af07f0f8fe2d47ed3c212 /src
parentc03ef375599687178595e8678912c3a5ee7f55ae (diff)
- debug
git-svn-id: https://gnunet.org/svn/gnunet@30336 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh_peer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c
index d4a1b98631..fab01ebd31 100644
--- a/src/mesh/gnunet-service-mesh_peer.c
+++ b/src/mesh/gnunet-service-mesh_peer.c
@@ -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,