From bb5f8a17103537caa09bcf14130debe3210fb61f Mon Sep 17 00:00:00 2001 From: zugz Date: Sat, 28 Oct 2017 14:26:18 +0200 Subject: [PATCH] set onion pingid timeout to announce timeout (300s) --- toxcore/onion_announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/onion_announce.c b/toxcore/onion_announce.c index 85868b915..c09380071 100644 --- a/toxcore/onion_announce.c +++ b/toxcore/onion_announce.c @@ -30,7 +30,7 @@ #include "LAN_discovery.h" #include "util.h" -#define PING_ID_TIMEOUT 20 +#define PING_ID_TIMEOUT ONION_ANNOUNCE_TIMEOUT #define ANNOUNCE_REQUEST_SIZE_RECV (ONION_ANNOUNCE_REQUEST_SIZE + ONION_RETURN_3)