summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--namedev_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/namedev_parse.c b/namedev_parse.c
index 266fa35a19..4526203253 100644
--- a/namedev_parse.c
+++ b/namedev_parse.c
@@ -176,7 +176,7 @@ int namedev_init_rules(void)
++temp;
/* empty line? */
- if (*temp == 0x00)
+ if ((*temp == 0x00) || (*temp == 0x0a))
continue;
/* see if this is a comment */
@@ -378,7 +378,7 @@ int namedev_init_permissions(void)
++temp;
/* empty line? */
- if (*temp == 0x00)
+ if ((*temp == 0x00) || (*temp == 0x0a))
continue;
/* see if this is a comment */