From d2afb8f65e0f760c5235e4b17b3afae0e75adc3d Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 8 Apr 2017 18:30:41 +0200 Subject: [PATCH] fix --- central-manager/central-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;