Skip to content

Commit

Permalink
Call warning() instead of prontf()
Browse files Browse the repository at this point in the history
  • Loading branch information
davidBar-On committed Sep 15, 2024
1 parent 748b5b0 commit a60b77a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iperf_server_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ iperf_handle_message_server(struct iperf_test *test)
iperf_err(test, "the client has unexpectedly closed the connection");
i_errno = IECTRLCLOSE;
} else {
printf("WARNING: client connection was closed when waiting for IPERF_DONE\n");
warning("client connection was closed when waiting for IPERF_DONE");
}
iperf_set_test_state(test, IPERF_DONE);
return 0;
Expand Down

0 comments on commit a60b77a

Please sign in to comment.