Skip to content

Commit 83693ee

Browse files
Sarah Larsenbmah888
authored andcommitted
Fix debug level
1 parent a40c9b3 commit 83693ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/iperf_client_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ iperf_run_client(struct iperf_test * test)
800800
errno = rc;
801801
iperf_err(test, "cleanup_and_fail in pthread_join - %s", iperf_strerror(i_errno));
802802
}
803-
if (test->debug >= DEBUG_LEVEL_INFO) {
803+
if (test->debug_level >= DEBUG_LEVEL_INFO) {
804804
iperf_printf(test, "Thread FD %d stopped\n", sp->socket);
805805
}
806806
}

src/iperf_server_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ cleanup_server(struct iperf_test *test)
432432
errno = rc;
433433
iperf_err(test, "cleanup_server in pthread_join - %s", iperf_strerror(i_errno));
434434
}
435-
if (test->debug >= DEBUG_LEVEL_INFO) {
435+
if (test->debug_level >= DEBUG_LEVEL_INFO) {
436436
iperf_printf(test, "Thread FD %d stopped\n", sp->socket);
437437
}
438438
}

0 commit comments

Comments
 (0)