mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-11 23:01:54 +00:00
fix jb bug where once its full size it will never shrink due to logic err
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user