From 385f9bf07c48ec4ee5c35663d04a0af62b34d654 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Sat, 7 Feb 2004 14:59:11 +0000 Subject: [PATCH] NULL looks better than (char *)0 unless we're passing an unprototyped argument to a function. --- libexec/ftpd/ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 88774c90d08..dab70917b0a 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -2526,7 +2526,7 @@ renamefrom(char *name) } if (lstat(name, &st) < 0) { perror_reply(550, name); - return ((char *)0); + return (NULL); } reply(350, "File exists, ready for destination name"); return (name);