Browse Source

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

Maskass57 6 months ago
parent
commit
031a058b01
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tsock_v3.c

+ 1
- 1
tsock_v3.c View File

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

Loading…
Cancel
Save