aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-07-29 13:19:30 +0000
committerJulius Bünger <buenger@mytum.de>2015-07-29 13:19:30 +0000
commit0c2143f91c93f51ffbd75856b1136d1a45b44166 (patch)
tree3bf5d96a98e7ccb5deed0ca34808b6d70c708102 /src/rps
parent19dec18b4506e0e3c6adf51120bde6150de30950 (diff)
downloadgnunet-0c2143f91c93f51ffbd75856b1136d1a45b44166.tar.gz
gnunet-0c2143f91c93f51ffbd75856b1136d1a45b44166.zip
-fix push receive
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;