summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-02-15 17:20:19 +0000
committerJulius Bünger <buenger@mytum.de>2015-02-15 17:20:19 +0000
commit0f5f329643649dfadc85a89273b845d1854e8f6d (patch)
tree0c984a90601bcde61cb2040670f4ca98cb5de57f /src
parent46925870764dc4dd83fcd2059da86a68b019da58 (diff)
- fixed confusion of push and pull
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)
}
/**
- * 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;