1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-05 10:08:08 +00:00

fix jb bug where once its full size it will never shrink due to logic err

This commit is contained in:
Anthony Minessale 2014-10-06 09:50:13 -05:00
parent f7210b2402
commit 397ec5ae1d

@ -270,7 +270,7 @@ stfu_status_t _stfu_n_resize(stfu_instance_t *i, int32_t qlen, int line)
stfu_status_t s;
int32_t incr = qlen;
if (i->qlen == i->max_qlen) {
if (incr > 0 && i->qlen == i->max_qlen) {
return STFU_IT_FAILED;
}