From: Travis Cross Date: Thu, 29 May 2014 13:06:35 +0000 (+0000) Subject: Add missing parenthesis pair X-Git-Tag: v1.4.5~2^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf59d57dabc9e22e1e1f9f10ed8c3218e7678a3d;p=thirdparty%2Ffreeswitch.git Add missing parenthesis pair This would have briefly caused the importance value in the fifo config file to be ignored. --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index b8ae5433cd..2a0f82d369 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -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; }