]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add missing parenthesis pair
authorTravis Cross <tc@traviscross.com>
Thu, 29 May 2014 13:21:22 +0000 (13:21 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 29 May 2014 13:21:22 +0000 (13:21 +0000)
This would have briefly prevented setting outbound_per_cycle from the
mod_fifo config file.

src/mod/applications/mod_fifo/mod_fifo.c

index 768ed67847b76f1c7586bfb4b6280e9dae3be1a7..1d48e6f0a3674bd682344dd67eb04d53e5c83a08 100644 (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;