mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-12-22 19:11:47 +01:00
Fix PWD response code
This commit is contained in:
parent
920cd96c67
commit
b0d0b03874
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user