mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
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
This commit is contained in:
3
config.c
3
config.c
@@ -440,9 +440,8 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
|
|||||||
while(*c && (*c > 32)) c++;
|
while(*c && (*c > 32)) c++;
|
||||||
if (*c) {
|
if (*c) {
|
||||||
*c = '\0';
|
*c = '\0';
|
||||||
c++;
|
|
||||||
/* Find real argument */
|
/* Find real argument */
|
||||||
while(*c && (*c < 33)) c++;
|
c = ast_skip_blanks(c + 1);
|
||||||
if (!*c)
|
if (!*c)
|
||||||
c = NULL;
|
c = NULL;
|
||||||
} else
|
} else
|
||||||
|
|||||||
Reference in New Issue
Block a user