diff options
Diffstat (limited to 'codecs/codec_zap.c')
-rw-r--r-- | codecs/codec_zap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/codecs/codec_zap.c b/codecs/codec_zap.c index 222b95a51..b5b99d29a 100644 --- a/codecs/codec_zap.c +++ b/codecs/codec_zap.c @@ -377,8 +377,8 @@ static int parse_config(int reload) struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; struct ast_config *cfg = ast_config_load("codecs.conf", config_flags); - if (!cfg) - return -1; + if (cfg == NULL) + return 0; if (cfg == CONFIG_STATUS_FILEUNCHANGED) return 0; |