fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 22:03:01 +0000 (22:03 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 21 Dec 2010 22:03:01 +0000 (22:03 +0000)
src/topology/gnunet-daemon-topology.c

index efe22f1abd13a0e84ec2834edeb063eeb45706ad..880dff0624ff7fba1e49bb27ee2035a3f8530d84 100644 (file)
@@ -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",