* Don't close stdout when using external logfile
Этот коммит содержится в:
родитель
24753fd762
Коммит
c1b0758cc8
@ -2913,7 +2913,7 @@ iperf_free_test(struct iperf_test *test)
|
|||||||
if (test->logfile) {
|
if (test->logfile) {
|
||||||
free(test->logfile);
|
free(test->logfile);
|
||||||
test->logfile = NULL;
|
test->logfile = NULL;
|
||||||
if (test->outfile) {
|
if (test->outfile && test->outfile != stdout) {
|
||||||
fclose(test->outfile);
|
fclose(test->outfile);
|
||||||
test->outfile = NULL;
|
test->outfile = NULL;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user