aboutsummaryrefslogtreecommitdiff
path: root/src/iperf_server_api.c
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@es.net>2014-03-14 15:48:31 -0700
committerBruce A. Mah <bmah@es.net>2014-03-14 15:48:31 -0700
commit3fa8072e9bca69d38ae1b5e1ea84c8399b9398d4 (patch)
tree3f1808002f26b033604a628820fd900b4b8ba775 /src/iperf_server_api.c
parentaeb6938d5ab2e3c2c72a5831fbf87ce7cfb21f1d (diff)
downloadiperf3-3fa8072e9bca69d38ae1b5e1ea84c8399b9398d4.tar.gz
Fix a call to iprintf(), also fix sequencing of some output flushes.
Related to Issue #119.
Diffstat (limited to 'src/iperf_server_api.c')
-rw-r--r--src/iperf_server_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iperf_server_api.c b/src/iperf_server_api.c
index 76290ea..6d8d940 100644
--- a/src/iperf_server_api.c
+++ b/src/iperf_server_api.c
@@ -449,8 +449,8 @@ iperf_run_server(struct iperf_test *test)
} else if (test->verbose) {
iprintf(test, "%s\n", version);
iprintf(test, "%s", "");
- fflush(stdout);
iprintf(test, "%s\n", get_system_info());
+ iflush(test);
}
// Open socket and listen