Add missing parenthesis pair

This would have briefly prevented setting outbound_per_cycle from the
mod_fifo config file.
This commit is contained in:
Travis Cross
2014-05-29 13:21:22 +00:00
parent 84fe7b0794
commit 17137d089d
+1 -1
View File
@@ -4501,7 +4501,7 @@ static switch_status_t load_config(int reload, int del_all)
node->outbound_per_cycle = 1;
if ((val = switch_xml_attr(fifo, "outbound_per_cycle"))) {
if (!(i = atoi(val)) < 0) {
if (!((i = atoi(val)) < 0)) {
node->outbound_per_cycle = i;
}
node->has_outbound = 1;