From 031a058b01404a03ed82f91cbf33fffac321a4f7 Mon Sep 17 00:00:00 2001 From: Maskass57 Date: Sat, 9 Mar 2024 00:30:25 +0100 Subject: [PATCH] (tsock_v3) 'infinite' default display of receiving packets fix --- tsock_v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsock_v3.c b/tsock_v3.c index b2102f2..1fc5823 100644 --- a/tsock_v3.c +++ b/tsock_v3.c @@ -132,7 +132,7 @@ int main (int argc, char **argv) lg,port,nb_message,(udp)?"UDP":"TCP",nom_machine_distante); } else { printf("PUITS:lg_mesg_lu=%d,port=%d,nb_receptions=",lg,port); - if (nb_message!=-1 && !source) { + if (nb_message==-1 && !source) { printf("infini"); } else {