From e92b19bc3551d65ec3caf5e72e5fd6646926d13c Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Sat, 7 Jan 2006 15:18:23 +0000
Subject: [PATCH] Bug 6160 - Replace inlined code with ast_skip_blanks

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 config.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config.c b/config.c
index 146a88702f..5840e30c9f 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 
-- 
GitLab