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; }