From 4ff178e9f2a3e3070492354fab4bbd9740727a2e Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Wed, 5 Apr 2017 09:25:51 +1000 Subject: [PATCH] missing crlf --- utils/magiftpd/magiftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/magiftpd/magiftpd.c b/utils/magiftpd/magiftpd.c index e79e3ac..c245a31 100644 --- a/utils/magiftpd/magiftpd.c +++ b/utils/magiftpd/magiftpd.c @@ -352,7 +352,7 @@ void handle_EPSV(struct ftpserver *cfg, struct ftpclient *client) { socklen_t file_sock_len = sizeof(struct sockaddr); getsockname(client->data_srv_socket, (struct sockaddr*) &file_addr, &file_sock_len); char buffer[256]; - sprintf(buffer, "229 Entering Extended Passive Mode (|||%d|)", port); + sprintf(buffer, "229 Entering Extended Passive Mode (|||%d|)\r\n", port); send_msg(client, buffer); }