From a736096e0b41f218cabd514a7841577a2ff4060e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 26 Oct 2005 18:54:24 +0000 Subject: change ast_strlen_zero to also check for the string to be defined git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.c') 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; } + } } } } -- cgit v1.2.3