aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rwxr-xr-xconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.c b/config.c
index 3fbc18082..e585cb13e 100755
--- a/config.c
+++ b/config.c
@@ -631,11 +631,12 @@ static struct ast_config *config_text_file_load(const char *database, const char
}
if (process_buf) {
char *buf = ast_strip(process_buf);
- if (!ast_strlen_zero(buf))
+ if (!ast_strlen_zero(buf)) {
if (process_text_line(cfg, &cat, buf, lineno, filename)) {
cfg = NULL;
break;
}
+ }
}
}
}