aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c4
1 files changed, 2 insertions, 2 deletions
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)
786} 786}
787 787
788/** 788/**
789 * Check whether #insert_in_pull_list was already scheduled 789 * Check whether #insert_in_gossip_list was already scheduled
790 */ 790 */
791 int 791 int
792insert_in_gossip_list_scheduled (const struct PeerContext *peer_ctx) 792insert_in_gossip_list_scheduled (const struct PeerContext *peer_ctx)
@@ -1115,7 +1115,7 @@ handle_peer_push (void *cls,
1115 LOG (GNUNET_ERROR_TYPE_DEBUG, "PUSH received (%s)\n", GNUNET_i2s (peer)); 1115 LOG (GNUNET_ERROR_TYPE_DEBUG, "PUSH received (%s)\n", GNUNET_i2s (peer));
1116 1116
1117 /* Add the sending peer to the push_list */ 1117 /* Add the sending peer to the push_list */
1118 if (GNUNET_NO == in_arr (push_list, pull_list_size, peer)) 1118 if (GNUNET_NO == in_arr (push_list, push_list_size, peer))
1119 GNUNET_array_append (push_list, push_list_size, *peer); 1119 GNUNET_array_append (push_list, push_list_size, *peer);
1120 1120
1121 return GNUNET_OK; 1121 return GNUNET_OK;