[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36108 - gnunet/src/rps
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36108 - gnunet/src/rps |
Date: |
Wed, 22 Jul 2015 11:37:18 +0200 |
Author: ch3
Date: 2015-07-22 11:37:18 +0200 (Wed, 22 Jul 2015)
New Revision: 36108
Modified:
gnunet/src/rps/gnunet-service-rps.c
Log:
-fixed wrong check
Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-07-22 09:37:16 UTC (rev 36107)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-07-22 09:37:18 UTC (rev 36108)
@@ -1722,9 +1722,7 @@
&peers[i]))
{
peer_ctx = get_peer_ctx (peer_map, &peers[i]);
- if (GNUNET_YES == get_peer_flag (peer_ctx, VALID) ||
- NULL != peer_ctx->send_channel ||
- NULL != peer_ctx->recv_channel)
+ if (GNUNET_YES == get_peer_flag (peer_ctx, VALID))
{
if (GNUNET_NO == in_arr (pull_list, pull_list_size, &peers[i]))
GNUNET_array_append (pull_list, pull_list_size, peers[i]);
@@ -2034,9 +2032,7 @@
/* Send PUSH to attacked peers */
peer_ctx = get_peer_ctx (peer_map, &attacked_peer);
- if (GNUNET_YES == get_peer_flag (peer_ctx, VALID)
- || NULL != peer_ctx->send_channel
- || NULL != peer_ctx->recv_channel)
+ if (GNUNET_YES == get_peer_flag (peer_ctx, VALID))
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Goding to send push to attacked peer (%s)\n",
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36108 - gnunet/src/rps,
gnunet <=