projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e083bdd
)
Allow whitespace in front of comments. Patch from Jeremie Koenig
author
Russ Allbery
<rra@stanford.edu>
Mon, 12 Jun 2006 20:20:21 +0000
(20:20 +0000)
committer
Russ Allbery
<rra@stanford.edu>
Mon, 12 Jun 2006 20:20:21 +0000
(20:20 +0000)
Ticket: 1988
Version_Reported: 1.3.6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18118
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/profile/prof_parse.c
patch
|
blob
|
history
diff --git
a/src/util/profile/prof_parse.c
b/src/util/profile/prof_parse.c
index d229bbb3ad9a0e30cca7b6f315f289568cc75d9f..c5ef4f8e7bdc9548e6a9740c66eaf57f2e4a02db 100644
(file)
--- a/
src/util/profile/prof_parse.c
+++ b/
src/util/profile/prof_parse.c
@@
-84,10
+84,10
@@
static errcode_t parse_std_line(char *line, struct parse_state *state)
if (*line == 0)
return 0;
- if (line[0] == ';' || line[0] == '#')
- return 0;
- strip_line(line);
cp = skip_over_blanks(line);
+ if (cp[0] == ';' || cp[0] == '#')
+ return 0;
+ strip_line(cp);
ch = *cp;
if (ch == 0)
return 0;