mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2025-02-17 03:26:20 +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);
|
path = escape_buffer(session->cwd, &len, true);
|
||||||
if(path != NULL)
|
if(path != NULL)
|
||||||
{
|
{
|
||||||
i = sprintf(buffer, "256 \"");
|
i = sprintf(buffer, "257 \"");
|
||||||
if(i + len + 3 > sizeof(buffer))
|
if(i + len + 3 > sizeof(buffer))
|
||||||
{
|
{
|
||||||
/* buffer will overflow */
|
/* buffer will overflow */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user