aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r--src/rps/gnunet-service-rps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 323a03bb2..2a391e4d5 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1505,8 +1505,7 @@ init_peer_cb (void *cls,
1505 struct PeerContext *peer_ctx; 1505 struct PeerContext *peer_ctx;
1506 1506
1507 server = (struct GNUNET_SERVER_Handle *) cls; 1507 server = (struct GNUNET_SERVER_Handle *) cls;
1508 if (NULL != peer 1508 if (0 != GNUNET_CRYPTO_cmp_peer_identity (&own_identity, peer))
1509 && 0 != GNUNET_CRYPTO_cmp_peer_identity (&own_identity, peer))
1510 { 1509 {
1511 LOG (GNUNET_ERROR_TYPE_DEBUG, 1510 LOG (GNUNET_ERROR_TYPE_DEBUG,
1512 "Got peer %s (at %p) from CADET (gossip_list_size: %u)\n", 1511 "Got peer %s (at %p) from CADET (gossip_list_size: %u)\n",
@@ -1538,7 +1537,7 @@ init_peer_cb (void *cls,
1538 1537
1539 // send push/pull to each of those peers? 1538 // send push/pull to each of those peers?
1540 } 1539 }
1541 else 1540 else if (NULL == peer)
1542 rps_start (server); 1541 rps_start (server);
1543} 1542}
1544 1543