Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
manedurphy committed Apr 22, 2024
1 parent 8df8097 commit ad3e789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/iperf_client_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ create_client_timers(struct iperf_test * test)
if (duration != 0) {
/**
* The duration of the measurement should only be overridden if it exceeds the duration set by the server or
* of no duration is set on the server.
* if no duration is set on the server.
*
*/
if (test->server_duration > 0 && test->server_duration < duration) {
Expand All @@ -220,7 +220,7 @@ create_client_timers(struct iperf_test * test)
if (test->timer == NULL) {
i_errno = IEINITTEST;
return -1;
}
}
}

if (test->stats_interval != 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/iperf_server_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ create_server_timers(struct iperf_test * test)
if (duration != 0 ) {
/**
* The duration of the measurement should only be overridden if it exceeds the duration set by the server or
* of no duration is set on the server.
* if no duration is set on the server.
*
*/
if (test->server_duration > 0 && test->server_duration < duration) {
Expand Down

0 comments on commit ad3e789

Please sign in to comment.