end faster when only pickup endpoints are left
This commit is contained in:
parent
d8fc88ea75
commit
c698de5c07
|
@ -772,7 +772,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oglobals->hups > 0 && oglobals->hups + pickups == len) {
|
if ((oglobals->hups > 0 && oglobals->hups + pickups == len) || pickups == len) {
|
||||||
rval = 0;
|
rval = 0;
|
||||||
} else {
|
} else {
|
||||||
rval = 1;
|
rval = 1;
|
||||||
|
|
Loading…
Reference in New Issue