From be31ea68bb3288af5b81dbc34787a3377ee2ef03 Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 11 Mar 2004 11:41:54 +0000 Subject: Fixed mispellings of '\0' as NULL. --- sbin/setkey/token.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin') diff --git a/sbin/setkey/token.l b/sbin/setkey/token.l index 9bea6ae..74c1e17 100644 --- a/sbin/setkey/token.l +++ b/sbin/setkey/token.l @@ -110,7 +110,7 @@ tagged { return(TAGGED); } /* count up for nl */ { char *p; - for (p = yytext; *p != NULL; p++) + for (p = yytext; *p != '\0'; p++) if (*p == '\n') lineno++; } @@ -221,7 +221,7 @@ any { return(ANY); } {quotedstring} { char *p = yytext; while (*++p != '"') ; - *p = NULL; + *p = '\0'; yytext++; yylval.val.len = yyleng - 2; yylval.val.buf = strdup(yytext); -- cgit v1.1