From 6ca2bbda45904bcbcb956cd631521ef7af6103f0 Mon Sep 17 00:00:00 2001 From: Vague Rant Date: Sat, 24 Sep 2022 05:15:05 +1000 Subject: [PATCH] Correct line endings in FEAT response --- src/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftp.c b/src/ftp.c index 27fb8c1..0ccc07d 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -228,7 +228,7 @@ static int32_t ftp_MODE(client_t *client, char *rest) { } static int32_t ftp_FEAT(client_t *client, char *rest) { - return write_reply(client, 211, "Features:\n UTF8\n211 End"); + return write_reply(client, 211, "Features:\r\n UTF8\r\n211 End"); } static int32_t ftp_OPTS(client_t *client, char *rest) {