From f7156e8ca903e073d8e255a1bca548df469a70b7 Mon Sep 17 00:00:00 2001 From: Michael Theall Date: Fri, 15 Jan 2016 12:13:56 -0600 Subject: [PATCH] Change initiator msg from 200 to 220 --- source/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ftp.c b/source/ftp.c index f7a772a..2f508c1 100644 --- a/source/ftp.c +++ b/source/ftp.c @@ -748,7 +748,7 @@ ftp_session_new(int listen_fd) session->cmd_fd = new_fd; /* send initiator response */ - rc = ftp_send_response(session, 200, "Hello!\r\n"); + rc = ftp_send_response(session, 220, "Hello!\r\n"); if(rc <= 0) ftp_session_destroy(session); }