From 0f5f329643649dfadc85a89273b845d1854e8f6d Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Sun, 15 Feb 2015 17:20:19 +0000 Subject: - fixed confusion of push and pull --- src/rps/gnunet-service-rps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 80957f829..d2a8fa0d0 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -786,7 +786,7 @@ insert_in_gossip_list (void *cls, const struct GNUNET_PeerIdentity *peer) } /** - * Check whether #insert_in_pull_list was already scheduled + * Check whether #insert_in_gossip_list was already scheduled */ int insert_in_gossip_list_scheduled (const struct PeerContext *peer_ctx) @@ -1115,7 +1115,7 @@ handle_peer_push (void *cls, LOG (GNUNET_ERROR_TYPE_DEBUG, "PUSH received (%s)\n", GNUNET_i2s (peer)); /* Add the sending peer to the push_list */ - if (GNUNET_NO == in_arr (push_list, pull_list_size, peer)) + if (GNUNET_NO == in_arr (push_list, push_list_size, peer)) GNUNET_array_append (push_list, push_list_size, *peer); return GNUNET_OK; -- cgit v1.2.3