From: Nathan S. Evans Date: Tue, 21 Dec 2010 16:47:56 +0000 (+0000) Subject: core related fix X-Git-Tag: initial-import-from-subversion-38251~19447 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4cf31a506ae49f14f86fb9b6ab01e42c732ab980;p=oweals%2Fgnunet.git core related fix --- diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index ef6a81882..efe22f1ab 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -704,6 +704,9 @@ connect_notify (void *cls, "Core told us that we are connecting to `%s'\n", GNUNET_i2s (peer)); #endif + if (0 == memcmp(&my_identity, peer, sizeof(struct GNUNET_PeerIdentity))) + return; + connection_count++; GNUNET_STATISTICS_set (stats, gettext_noop ("# peers connected"),