Merge pull request #132 in FS/freeswitch from ~SGUTIERREZ/freeswitch-fs-7052:master to master

* commit '4be629037508dedc9fe9e50b118b8b5cb9bf422b':
  FS-7052 Moving jb queue swap operation out of the debug block.
This commit is contained in:
Brian West 2014-12-04 10:56:12 -06:00
commit b367f5216b

View File

@ -744,9 +744,10 @@ static int stfu_n_find_any_frame(stfu_instance_t *in, stfu_queue_t *queue, stfu_
if (was_read == queue->real_array_size) {
if (stfu_log != null_logger && in->debug) {
stfu_log(STFU_LOG_EMERG, "%s OUT QUEUE EMPTY, SWAPPING\n", in->name);
stfu_n_swap(in);
in->ready = 0;
}
stfu_n_swap(in);
in->ready = 0;
return 0;
}