diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2003-02-04 03:33:25 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2003-02-04 03:33:25 +0000 |
commit | 50618d61aed028025a7c9f118d7f4bbc971151c7 (patch) | |
tree | b80b05b84243496abcb779fb4340724a7aa132d8 | |
parent | 16b3d3546de89ef8943fdfb422af09c1ebeea87f (diff) | |
download | src-50618d61aed028025a7c9f118d7f4bbc971151c7.tar.gz src-50618d61aed028025a7c9f118d7f4bbc971151c7.zip |
RFC 959 doesn't list reply code 550 as a valid responce to STOR/STOU,
so return reply code 553 to indicate a error from open(2) for consistency,
as long as the code is used in the rest of the STOR/STOU handler.
Notes
Notes:
svn path=/head/; revision=110307
-rw-r--r-- | libexec/ftpd/ftpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 477102aa448f..83e2e97976c6 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -2920,7 +2920,7 @@ guniquefd(char *local, char **name) return (fd); } if (errno != EEXIST) { - perror_reply(550, count ? new : local); + perror_reply(553, count ? new : local); return (-1); } } |