Fix PWD response code

This commit is contained in:
Michael Theall 2016-01-22 14:28:55 -06:00
parent 920cd96c67
commit b0d0b03874

View File

@ -2883,7 +2883,7 @@ FTP_DECLARE(PWD)
path = escape_buffer(session->cwd, &len, true);
if(path != NULL)
{
i = sprintf(buffer, "256 \"");
i = sprintf(buffer, "257 \"");
if(i + len + 3 > sizeof(buffer))
{
/* buffer will overflow */