summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-02-15 17:19:42 +0000
committerJulius Bünger <buenger@mytum.de>2015-02-15 17:19:42 +0000
commite6df5109941c5e0de559383e37776b20e7b0c6af (patch)
tree0e837ca59cf8a82e9d0b73854258aeb4ecc48eee /src
parentb3d821fae66b2b020b4b89190559f54742d16317 (diff)
- don't put our own id in the algorithm
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index ce1b156b4..3f89f3d86 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1505,7 +1505,8 @@ init_peer_cb (void *cls,
struct PeerContext *peer_ctx;
server = (struct GNUNET_SERVER_Handle *) cls;
- if ( NULL != peer )
+ if (NULL != peer
+ && 0 != GNUNET_CRYPTO_cmp_peer_identity (&own_identity, peer))
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Got peer %s (at %p) from CADET (gossip_list_size: %u)\n",