From 8512c011491a2a1a29233c0776a9a24f2201f0b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Mon, 6 Apr 2015 02:08:08 -0400 Subject: [PATCH] dht: update doc --- include/opendht/dht.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/opendht/dht.h b/include/opendht/dht.h index fcaf0cb7..d8759a0c 100644 --- a/include/opendht/dht.h +++ b/include/opendht/dht.h @@ -260,10 +260,10 @@ private: InfoHash id {}; sockaddr_storage ss; socklen_t sslen {0}; - time_point time {}; /* time of last message received */ + time_point time {}; /* last time eared about */ time_point reply_time {}; /* time of last correct reply received */ - time_point pinged_time {}; /* time of last request */ - unsigned pinged {0}; /* how many requests we sent since last reply */ + time_point pinged_time {}; /* time of last message sent */ + unsigned pinged {0}; /* how many requests we sent since last reply */ Node() : ss() { std::fill_n((uint8_t*)&ss, sizeof(ss), 0); -- GitLab