Fix a call to iprintf(), also fix sequencing of some output flushes.
Related to Issue #119.
This commit is contained in:
parent
aeb6938d5a
commit
3fa8072e9b
@ -355,8 +355,8 @@ iperf_run_client(struct iperf_test * test)
|
|||||||
} else if (test->verbose) {
|
} else if (test->verbose) {
|
||||||
iprintf(test, "%s\n", version);
|
iprintf(test, "%s\n", version);
|
||||||
iprintf(test, "%s", "");
|
iprintf(test, "%s", "");
|
||||||
fflush(stdout);
|
iprintf(test, "%s\n", get_system_info());
|
||||||
iprintf("%s\n", get_system_info());
|
iflush(test);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start the client and connect to the server */
|
/* Start the client and connect to the server */
|
||||||
|
@ -449,8 +449,8 @@ iperf_run_server(struct iperf_test *test)
|
|||||||
} else if (test->verbose) {
|
} else if (test->verbose) {
|
||||||
iprintf(test, "%s\n", version);
|
iprintf(test, "%s\n", version);
|
||||||
iprintf(test, "%s", "");
|
iprintf(test, "%s", "");
|
||||||
fflush(stdout);
|
|
||||||
iprintf(test, "%s\n", get_system_info());
|
iprintf(test, "%s\n", get_system_info());
|
||||||
|
iflush(test);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open socket and listen
|
// Open socket and listen
|
||||||
|
Loading…
Reference in New Issue
Block a user