fix
This commit is contained in:
parent
23af65d69e
commit
d2afb8f65e
|
@ -395,7 +395,7 @@ void* managePlane(void* THREADABLE_SOCKET){
|
||||||
read = recv(TCP_SOCKET, buffer, MAX_BUF_LEN, 0);
|
read = recv(TCP_SOCKET, buffer, MAX_BUF_LEN, 0);
|
||||||
|
|
||||||
/* 2.1. Si erreur reception (-1:erreur, 0:fermeture client propre) */
|
/* 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);
|
if( DEBUGMOD&BUF ) printf("{tcp_com}(%d) read: %d -> must exit thread\n", index, read);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue