diff --git a/central-manager/central-manager.c b/central-manager/central-manager.c index 05f9db6..c57c494 100644 --- a/central-manager/central-manager.c +++ b/central-manager/central-manager.c @@ -395,7 +395,7 @@ void* managePlane(void* THREADABLE_SOCKET){ read = recv(TCP_SOCKET, buffer, MAX_BUF_LEN, 0); /* 2.1. Si erreur reception (-1:erreur, 0:fermeture client propre) */ - if( read <= 0 ) + if( read <= 0 ){ if( DEBUGMOD&BUF ) printf("{tcp_com}(%d) read: %d -> must exit thread\n", index, read); break;