Write error handling

This commit is contained in:
Ugo Cirmignani
2018-03-21 04:47:02 -07:00
parent d31ce05b8c
commit a5fa7f9ebf

View File

@ -376,6 +376,7 @@ void runFtpServer(void)
/* close the connection if quit flag has been set */ /* close the connection if quit flag has been set */
if (ftpData.clients[processingSock].closeTheClient == 1) if (ftpData.clients[processingSock].closeTheClient == 1)
{ {
printf("\nClosing client connection %d", ftpData.clients[processingSock].closeTheClient);
closeClient(&ftpData, processingSock); closeClient(&ftpData, processingSock);
continue; continue;
} }