From c407fcfeea3625657c6347ddfbe11110e87e4e81 Mon Sep 17 00:00:00 2001 From: Dane Murphy Date: Sun, 21 Apr 2024 19:09:10 -0700 Subject: [PATCH] typo --- src/iperf_client_api.c | 4 ++-- src/iperf_server_api.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/iperf_client_api.c b/src/iperf_client_api.c index ddb4bd35e..2896e4589 100644 --- a/src/iperf_client_api.c +++ b/src/iperf_client_api.c @@ -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) { @@ -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) { diff --git a/src/iperf_server_api.c b/src/iperf_server_api.c index 665ddb82e..dcb4a3b4a 100644 --- a/src/iperf_server_api.c +++ b/src/iperf_server_api.c @@ -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) {