Fix misplaced brackets in "if" with assignment + comparison
This commit is contained in:
parent
cfe5c4fecc
commit
3cece6949a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue