Commit 0a158e08 authored by pernelle's avatar pernelle
Browse files

Merge tag '2020.1.1' into develop

Finish 2020.1.1
parents 85178686 53895bb8
...@@ -231,7 +231,7 @@ void lireMessageCOL3(int sock, char * msgrecu) { ...@@ -231,7 +231,7 @@ void lireMessageCOL3(int sock, char * msgrecu) {
if((nbrecu = recv(sock, temp, sizeof(temp), 0)) < 0) { if((nbrecu = recv(sock, temp, sizeof(temp), 0)) < 0) {
if (!NCURSE) printf("%s"," --> socket[lireMessageCOL3] : reception message [NOK] \n"); if (!NCURSE) printf("%s"," --> socket[lireMessageCOL3] : reception message [NOK] \n");
} }
temp[nbrecu] = '\0'; temp[nbrecu<0 ? 0 : nbrecu] = '\0';
strcpy(msgrecu,temp); strcpy(msgrecu,temp);
if (!NCURSE) printf("%s %d %s %s %s "," --> socket[lireMessageCOL3] : reception message [OK] : nbrecu = ",nbrecu," msg = {",msgrecu,"}\n"); if (!NCURSE) printf("%s %d %s %s %s "," --> socket[lireMessageCOL3] : reception message [OK] : nbrecu = ",nbrecu," msg = {",msgrecu,"}\n");
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment