From: Christian Grothoff Date: Tue, 21 Dec 2010 22:03:01 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~19444 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1ac6849677af4f98a0811626d5b36a3d3a0cb3c0;p=oweals%2Fgnunet.git fix --- 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",