aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-07 15:18:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-07 15:18:23 +0000
commit39935a5202d6c911e9e45cf95ddad51f04a8c6cf (patch)
treeacf0c476487a063d1e766e5f893240759a46e169 /config.c
parent4a7380f1727af38ea547150280c33bfeef51ce0e (diff)
Bug 6160 - Replace inlined code with ast_skip_blanks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7852 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.c b/config.c
index 146a88702..5840e30c9 100644
--- a/config.c
+++ b/config.c
@@ -440,9 +440,8 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
while(*c && (*c > 32)) c++;
if (*c) {
*c = '\0';
- c++;
/* Find real argument */
- while(*c && (*c < 33)) c++;
+ c = ast_skip_blanks(c + 1);
if (!*c)
c = NULL;
} else