mirror of
https://github.com/kingk85/uFTP.git
synced 2025-07-16 16:56:10 +03:00
Write error handling
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user