]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add missing parenthesis pair
authorTravis Cross <tc@traviscross.com>
Thu, 29 May 2014 13:06:35 +0000 (13:06 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 29 May 2014 13:10:23 +0000 (13:10 +0000)
This would have briefly caused the importance value in the fifo config
file to be ignored.

src/mod/applications/mod_fifo/mod_fifo.c

index b8ae5433cd113f86369db420ff9709dc45caaff5..2a0f82d369c67c571a7090b71fe2a7cf31deb87a 100644 (file)
@@ -4481,7 +4481,7 @@ static switch_status_t load_config(int reload, int del_all)
                                continue;
                        }
 
-                       if ((val = switch_xml_attr(fifo, "importance")) && !(i = atoi(val)) < 0) {
+                       if ((val = switch_xml_attr(fifo, "importance")) && !((i = atoi(val)) < 0)) {
                                importance = i;
                        }