[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: RPS: Fix checking of proper
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: RPS: Fix checking of properties for peer removal |
Date: |
Tue, 26 Feb 2019 13:50:32 +0100 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 8fc9e63f8 RPS: Fix checking of properties for peer removal
8fc9e63f8 is described below
commit 8fc9e63f885e4cdcfeddb28336f71adcfa9f9e3d
Author: Julius Bünger <address@hidden>
AuthorDate: Tue Feb 26 13:49:28 2019 +0100
RPS: Fix checking of properties for peer removal
---
src/rps/gnunet-service-rps.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 4758478c1..8c50cf9d5 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1796,7 +1796,7 @@ check_removable (const struct PeerContext *peer_ctx)
if ( (NULL != peer_ctx->recv_channel_ctx) ||
(NULL != peer_ctx->pending_messages_head) ||
- (GNUNET_NO == check_peer_flag_set (peer_ctx, Peers_PULL_REPLY_PENDING))
)
+ (GNUNET_YES == check_peer_flag_set (peer_ctx,
Peers_PULL_REPLY_PENDING)) )
{
return GNUNET_NO;
}
@@ -2758,8 +2758,8 @@ clean_peer (struct Sub *sub,
(GNUNET_NO == View_contains_peer (sub->view, peer)) &&
(GNUNET_NO == CustomPeerMap_contains_peer (sub->push_map, peer)) &&
(GNUNET_NO == CustomPeerMap_contains_peer (sub->push_map, peer)) &&
- (0 == RPS_sampler_count_id (sub->sampler, peer)) &&
- (GNUNET_NO != check_removable (get_peer_ctx (sub->peer_map, peer))) )
+ (0 == RPS_sampler_count_id (sub->sampler, peer)) &&
+ (GNUNET_YES == check_removable (get_peer_ctx (sub->peer_map, peer))) )
{ /* We can safely remove this peer */
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Going to remove peer %s\n",
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: RPS: Fix checking of properties for peer removal,
gnunet <=