(tsock_v3) 'infinite' default display of receiving packets fix

This commit is contained in:
Maskass57 2024-03-09 00:30:25 +01:00
parent cb70cc4e8c
commit 031a058b01

View file

@ -132,7 +132,7 @@ int main (int argc, char **argv)
lg,port,nb_message,(udp)?"UDP":"TCP",nom_machine_distante); lg,port,nb_message,(udp)?"UDP":"TCP",nom_machine_distante);
} else { } else {
printf("PUITS:lg_mesg_lu=%d,port=%d,nb_receptions=",lg,port); printf("PUITS:lg_mesg_lu=%d,port=%d,nb_receptions=",lg,port);
if (nb_message!=-1 && !source) { if (nb_message==-1 && !source) {
printf("infini"); printf("infini");
} }
else { else {