From 3cece6949a104e44d00ed7516eceb90bfdfa591b Mon Sep 17 00:00:00 2001 From: Tomasz Ostrowski <43222462+tomek-o@users.noreply.github.com> Date: Sun, 27 Nov 2022 23:13:09 +0100 Subject: [PATCH] Fix misplaced brackets in "if" with assignment + comparison --- src/mod/applications/mod_db/mod_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_db/mod_db.c b/src/mod/applications/mod_db/mod_db.c index 0e3e227de7..b23cd612ce 100644 --- a/src/mod/applications/mod_db/mod_db.c +++ b/src/mod/applications/mod_db/mod_db.c @@ -650,7 +650,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_db_load) globals.pool = pool; - if ((status = do_config() != SWITCH_STATUS_SUCCESS)) { + if ((status = do_config()) != SWITCH_STATUS_SUCCESS) { return status; }