From: Andrew Siplas Date: Sat, 18 Jan 2020 21:54:01 +0000 (-0500) Subject: chan_dahdi: Change 999999 to INT_MAX to better reflect "no timeout" X-Git-Tag: 13.31.0-rc1~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=419fd1da112c926cff3a3416a76896bdd95d683f;p=thirdparty%2Fasterisk.git chan_dahdi: Change 999999 to INT_MAX to better reflect "no timeout" 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 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 8a5e4b23cc..3da5f5ef6c 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -9914,7 +9914,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;