From a5fa7f9ebfed3bd252ddc171ae77d9dc4922ee2a Mon Sep 17 00:00:00 2001 From: Ugo Cirmignani Date: Wed, 21 Mar 2018 04:47:02 -0700 Subject: [PATCH] Write error handling --- ftpServer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ftpServer.c b/ftpServer.c index 1b432ab..115e72b 100644 --- a/ftpServer.c +++ b/ftpServer.c @@ -376,6 +376,7 @@ void runFtpServer(void) /* close the connection if quit flag has been set */ if (ftpData.clients[processingSock].closeTheClient == 1) { + printf("\nClosing client connection %d", ftpData.clients[processingSock].closeTheClient); closeClient(&ftpData, processingSock); continue; }