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:
parent
cbd85a777d
commit
b1a2e9acb4
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user