projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5794e80
)
rps service: don't send 'ping' twice
author
Julius Bünger
<buenger@mytum.de>
Thu, 26 Jul 2018 14:52:36 +0000
(16:52 +0200)
committer
Julius Bünger
<buenger@mytum.de>
Thu, 26 Jul 2018 14:52:36 +0000
(16:52 +0200)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index fcb68b72486a244655ee1db48cab481bdcd74fb0..a5fb88157a5c7c2982f75192e10016d408564ae8 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-1225,7
+1225,8
@@
Peers_issue_peer_liveliness_check (const struct GNUNET_PeerIdentity *peer)
ret = Peers_insert_peer (peer);
peer_ctx = get_peer_ctx (peer);
- if (GNUNET_NO == Peers_check_peer_flag (peer, Peers_ONLINE))
+ if ( (GNUNET_NO == Peers_check_peer_flag (peer, Peers_ONLINE)) &&
+ (NULL == peer_ctx->liveliness_check_pending) )
{
check_peer_live (peer_ctx);
}