aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-service-rps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index f279b88d6..84b46ef2e 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1505,7 +1505,11 @@ handle_peer_push (void *cls,
1505 1505
1506 /* Add the sending peer to the push_list */ 1506 /* Add the sending peer to the push_list */
1507 if (GNUNET_NO == in_arr (push_list, push_list_size, peer)) 1507 if (GNUNET_NO == in_arr (push_list, push_list_size, peer))
1508 {
1509 if (GNUNET_NO == GNUNET_CONTAINER_multipeermap_contains (peer_map, peer))
1510 (void) create_peer_ctx (peer);
1508 GNUNET_array_append (push_list, push_list_size, *peer); 1511 GNUNET_array_append (push_list, push_list_size, *peer);
1512 }
1509 1513
1510 GNUNET_CADET_receive_done (channel); 1514 GNUNET_CADET_receive_done (channel);
1511 return GNUNET_OK; 1515 return GNUNET_OK;