1
1

* Don't close stdout when using external logfile

Этот коммит содержится в:
Claudius Zingerli 2021-10-18 11:39:57 +02:00
родитель 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;
} }