diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-12-21 16:47:56 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-12-21 16:47:56 +0000 |
commit | 4cf31a506ae49f14f86fb9b6ab01e42c732ab980 (patch) | |
tree | 9fcf5007a8ded16d57d4373292208e9e6e5f0002 /src/topology/gnunet-daemon-topology.c | |
parent | 6d041865665cf4eb776c9d1713b7dd73385b4fb2 (diff) | |
download | gnunet-4cf31a506ae49f14f86fb9b6ab01e42c732ab980.tar.gz gnunet-4cf31a506ae49f14f86fb9b6ab01e42c732ab980.zip |
core related fix
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, | |||
704 | "Core told us that we are connecting to `%s'\n", | 704 | "Core told us that we are connecting to `%s'\n", |
705 | GNUNET_i2s (peer)); | 705 | GNUNET_i2s (peer)); |
706 | #endif | 706 | #endif |
707 | if (0 == memcmp(&my_identity, peer, sizeof(struct GNUNET_PeerIdentity))) | ||
708 | return; | ||
709 | |||
707 | connection_count++; | 710 | connection_count++; |
708 | GNUNET_STATISTICS_set (stats, | 711 | GNUNET_STATISTICS_set (stats, |
709 | gettext_noop ("# peers connected"), | 712 | gettext_noop ("# peers connected"), |