From 9895e94dba8cd4b9985f5c73562b94be17e823e1 Mon Sep 17 00:00:00 2001 From: Andrew Siplas Date: Sat, 18 Jan 2020 16:54:01 -0500 Subject: [PATCH] chan_dahdi: Change 999999 to INT_MAX to better reflect "no timeout" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The no-entry timeout set to 999999 == 16⅔ minutes, change to INT_MAX to match behavior of "no timeout" defined in comment. ASTERISK-28702 #close Change-Id: I4ea015986e061374385dba247b272f7aac60bf11 --- channels/chan_dahdi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 8ffece7e45..a4e564d1a6 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -9847,7 +9847,7 @@ static void *analog_ss_thread(void *data) /* If starting a threeway call, never timeout on the first digit so someone can use flash-hook as a "hold" feature */ if (p->subs[SUB_THREEWAY].owner) - timeout = 999999; + timeout = INT_MAX; while (len < AST_MAX_EXTENSION-1) { int is_exten_parking = 0; -- 2.47.2