From: ceriel Date: Wed, 13 Dec 1989 09:19:47 +0000 (+0000) Subject: changed character comparisons with NULL X-Git-Tag: release-5-5~2011 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=a5f05e8ba04d6c8b17ec1a6c843729c66be14beb;p=ack.git changed character comparisons with NULL --- diff --git a/mach/proto/as/comm4.c b/mach/proto/as/comm4.c index c527f985b..ee778af77 100644 --- a/mach/proto/as/comm4.c +++ b/mach/proto/as/comm4.c @@ -58,7 +58,7 @@ char **argv; continue; switch (*p++) { case 'o': - if (*p != NULL) { + if (*p != '\0') { aoutpath = p; break; } @@ -68,7 +68,7 @@ char **argv; aoutpath = argv[i]; break; case 'T': - if (*p != NULL) { + if (*p != '\0') { extern char *tmp_dir; tmp_dir = p;