end faster when only pickup endpoints are left

This commit is contained in:
Anthony Minessale 2012-09-10 20:47:51 -05:00
parent d8fc88ea75
commit c698de5c07
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} else {
rval = 1;