]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Also trim trailing blanks on #includes
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 28 Jun 2010 21:38:49 +0000 (21:38 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 28 Jun 2010 21:38:49 +0000 (21:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@272922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/config.c

index 4a7bad894af5db715245a78ce98352d12c200634..05836b54fe207f6ced43e4c1335434b4efd23ffa 100644 (file)
@@ -708,7 +708,7 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
                if (*c) {
                        *c = '\0';
                        /* Find real argument */
-                       c = ast_skip_blanks(c + 1);
+                       c = ast_strip(c + 1);
                        if (!(*c))
                                c = NULL;
                } else