diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-12-21 22:03:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-12-21 22:03:01 +0000 |
commit | 1ac6849677af4f98a0811626d5b36a3d3a0cb3c0 (patch) | |
tree | 7071b7f2a2e1eb2610064b1e4c6b8c13285e2bd8 /src/topology/gnunet-daemon-topology.c | |
parent | 679f76b6fcdddb746b7cbd37150d4893c0b5cf36 (diff) | |
download | gnunet-1ac6849677af4f98a0811626d5b36a3d3a0cb3c0.tar.gz gnunet-1ac6849677af4f98a0811626d5b36a3d3a0cb3c0.zip |
fix
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 4 |
1 files changed, 3 insertions, 1 deletions
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, | |||
772 | GNUNET_PeerIdentity * peer) | 772 | GNUNET_PeerIdentity * peer) |
773 | { | 773 | { |
774 | struct Peer *pos; | 774 | struct Peer *pos; |
775 | 775 | ||
776 | if (0 == memcmp(&my_identity, peer, sizeof(struct GNUNET_PeerIdentity))) | ||
777 | return; | ||
776 | #if DEBUG_TOPOLOGY | 778 | #if DEBUG_TOPOLOGY |
777 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 779 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
778 | "Core told us that we disconnected from `%s'\n", | 780 | "Core told us that we disconnected from `%s'\n", |