1
1

Close credentials file when we're done reading it. (#704)

Fixes #701.
Этот коммит содержится в:
Bruce A. Mah 2018-02-22 17:25:25 -08:00 коммит произвёл GitHub
родитель 4a46483341
Коммит 8740c8cf8e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -1,5 +1,5 @@
/* /*
* iperf, Copyright (c) 2014-2017, The Regents of the University of * iperf, Copyright (c) 2014-2018, The Regents of the University of
* California, through Lawrence Berkeley National Laboratory (subject * California, through Lawrence Berkeley National Laboratory (subject
* to receipt of any required approvals from the U.S. Dept. of * to receipt of any required approvals from the U.S. Dept. of
* Energy). All rights reserved. * Energy). All rights reserved.
@ -98,6 +98,7 @@ int check_authentication(const char *username, const char *password, const time_
return 0; return 0;
} }
} }
fclose(ptr_file);
return 3; return 3;
} }