]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8316 resolving the build warnings in one more module
authorWilliam King <william.king@quentustech.com>
Fri, 9 Oct 2015 17:21:58 +0000 (10:21 -0700)
committerWilliam King <william.king@quentustech.com>
Fri, 9 Oct 2015 17:21:58 +0000 (10:21 -0700)
src/mod/applications/mod_easyroute/mod_easyroute.c

index 5fdbf3abb20df53827f209a321c822a8ecb3c3a0..e039c86e3883c2379d8f16cbdd7583721e38af40 100644 (file)
@@ -357,7 +357,7 @@ SWITCH_STANDARD_API(easyroute_function)
                        }
                }
 
-               if (!route_lookup(destnum, &results, noat, separator) == SWITCH_STATUS_SUCCESS) {
+               if (route_lookup(destnum, &results, noat, separator) != SWITCH_STATUS_SUCCESS) {
                        stream->write_function(stream, "No Match!\n");
                        status = SWITCH_STATUS_SUCCESS;
                        goto done;