summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 88774c9..dab7091 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);
OpenPOWER on IntegriCloud