summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-06-09 23:09:26 -0400
committerirungentoo <irungentoo@gmail.com>2015-06-09 23:09:26 -0400
commit8ac74ebf47ba8268ec293fca11942e33c19d298b (patch)
tree307e0ae98a7b4e48d2b2fd83cb459197c953870b
parent3e352749adee6dabd2ae2dac53b40813b9672441 (diff)
Define fix.
-rw-r--r--toxcore/DHT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index dc11ef05..2236fe61 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -47,7 +47,7 @@
47#include "util.h" 47#include "util.h"
48 48
49/* The timeout after which a node is discarded completely. */ 49/* The timeout after which a node is discarded completely. */
50#define KILL_NODE_TIMEOUT 300 50#define KILL_NODE_TIMEOUT (BAD_NODE_TIMEOUT + PING_INTERVAL)
51 51
52/* Ping interval in seconds for each random sending of a get nodes request. */ 52/* Ping interval in seconds for each random sending of a get nodes request. */
53#define GET_NODE_INTERVAL 20 53#define GET_NODE_INTERVAL 20