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:
parent
2c93b25c73
commit
1b5d772c4a
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Reference in a new issue