Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
manedurphy committed Jun 5, 2024
1 parent 2cb935c commit 98e915e
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 @@ -360,7 +360,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 98e915e

Please sign in to comment.