1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Subject: echo client: Fix an off-by-one error in --times handling

This commit is contained in:
Peter Pentchev 2018-03-12 22:24:39 +02:00 committed by Andy Green
parent 2c93b25c73
commit 1b5d772c4a

View file

@ -346,7 +346,7 @@ int main(int argc, char **argv)
_interface = interface_name;
break;
case 'n':
times = atoi(optarg);
times = atoi(optarg) + 1;
break;
case '?':
case 'h':