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.
This commit is contained in:
yar 2003-02-04 03:33:25 +00:00
parent cbd85a777d
commit b1a2e9acb4

View File

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