Merge "chan_dahdi: Change 999999 to INT_MAX to better reflect "no timeout""

This commit is contained in:
Joshua Colp
2020-01-22 07:48:49 -06:00
committed by Gerrit Code Review
+1 -1
View File
@@ -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;