From: Julius Bünger <buenger@mytum.de> Date: Fri, 1 Jul 2016 23:38:27 +0000 (+0000) Subject: -rps service: correct check of peer status X-Git-Tag: initial-import-from-subversion-38251~636 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dc0f21a6720afedbd952886c256266f983faf7ac;p=oweals%2Fgnunet.git -rps service: correct check of peer status --- diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 1a3f737f6..5c638ac8d 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -1729,7 +1729,7 @@ do_mal_round (void *cls) * That is one push per round as it will ignore more. */ (void) Peers_issue_peer_liveliness_check (&attacked_peer); - if (GNUNET_YES == Peers_check_peer_valid (&attacked_peer)) + if (GNUNET_YES == Peers_check_peer_flag (&attacked_peer, Peers_ONLINE)) send_push (&attacked_peer); }