From 461e9cd2f8af0ae2fc9df6cad144d7dd40c0a640 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Mon, 24 Nov 2014 03:15:59 +0000 Subject: [PATCH] correct response for PWD --- source/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ftp.c b/source/ftp.c index 2c772aa..e7e2cde 100644 --- a/source/ftp.c +++ b/source/ftp.c @@ -1891,7 +1891,7 @@ FTP_DECLARE(PWD) ftp_session_set_state(session, COMMAND_STATE); - return ftp_send_response(session, 200, "\"%s\"\r\n", session->cwd); + return ftp_send_response(session, 257, "\"%s\"\r\n", session->cwd); } FTP_DECLARE(QUIT)