wait forever when you call a pickup endpoint by itself

This commit is contained in:
Anthony Minessale 2012-07-19 15:49:34 -05:00
parent 0e51786a88
commit b434cac526
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
}
}
if (oglobals->hups + pickups == len) {
if (oglobals->hups > 0 && oglobals->hups + pickups == len) {
rval = 0;
} else {
rval = 1;