NULL looks better than (char *)0 unless we're passing

an unprototyped argument to a function.
This commit is contained in:
Yaroslav Tykhiy 2004-02-07 14:59:11 +00:00
parent b943b3c4ae
commit 385f9bf07c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125570

View File

@ -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);