From 1ac6849677af4f98a0811626d5b36a3d3a0cb3c0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 21 Dec 2010 22:03:01 +0000 Subject: [PATCH] fix --- src/topology/gnunet-daemon-topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index efe22f1ab..880dff062 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -772,7 +772,9 @@ disconnect_notify (void *cls, GNUNET_PeerIdentity * peer) { struct Peer *pos; - + + if (0 == memcmp(&my_identity, peer, sizeof(struct GNUNET_PeerIdentity))) + return; #if DEBUG_TOPOLOGY GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Core told us that we disconnected from `%s'\n", -- 2.25.1