From e15b5ed5ded18af1329b304fc650a1cbc8123ccc Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Tue, 30 Dec 2003 00:54:29 -0800 Subject: [PATCH] small trivial cleanup of latest changes here is a patch for a typo in the man page, a whitespace cleanup and a replace for the magic hex ASCII in char operations. --- namedev_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'namedev_parse.c') diff --git a/namedev_parse.c b/namedev_parse.c index aec87d2771..2858a28091 100644 --- a/namedev_parse.c +++ b/namedev_parse.c @@ -176,7 +176,7 @@ int namedev_init_rules(void) ++temp; /* empty line? */ - if ((*temp == 0x00) || (*temp == 0x0a)) + if ((*temp == '\0') || (*temp == '\n')) continue; /* see if this is a comment */ @@ -376,7 +376,7 @@ int namedev_init_permissions(void) ++temp; /* empty line? */ - if ((*temp == 0x00) || (*temp == 0x0a)) + if ((*temp == '\0') || (*temp == '\n')) continue; /* see if this is a comment */ -- cgit v1.2.3-54-g00ecf