chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] 010_bk stamp
[elogind.git]
/
namedev_parse.c
diff --git
a/namedev_parse.c
b/namedev_parse.c
index 266fa35a1945939ab5f384d70980dfcd3b2c089e..4526203253c6c443afd5c84214b00f3f0a0660ca 100644
(file)
--- a/
namedev_parse.c
+++ b/
namedev_parse.c
@@
-176,7
+176,7
@@
int namedev_init_rules(void)
++temp;
/* empty line? */
++temp;
/* empty line? */
- if (
*temp == 0x00
)
+ if (
(*temp == 0x00) || (*temp == 0x0a)
)
continue;
/* see if this is a comment */
continue;
/* see if this is a comment */
@@
-378,7
+378,7
@@
int namedev_init_permissions(void)
++temp;
/* empty line? */
++temp;
/* empty line? */
- if (
*temp == 0x00
)
+ if (
(*temp == 0x00) || (*temp == 0x0a)
)
continue;
/* see if this is a comment */
continue;
/* see if this is a comment */