mirror of
https://github.com/tmate-io/tmate.git
synced 2026-07-17 16:35:00 +00:00
parent
ba6ac3a363
commit
9e3e39d66d
1 changed files with 3 additions and 0 deletions
3
log.c
3
log.c
|
|
@ -61,6 +61,9 @@ log_get_level(void)
|
|||
void
|
||||
log_open_fp(FILE *f)
|
||||
{
|
||||
if (log_file == f)
|
||||
return;
|
||||
|
||||
if (log_file != NULL && !is_log_stdout())
|
||||
fclose(log_file);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue