mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-30 03:54:10 +01:00
Move tzset() from log_open to main.
This commit is contained in:
parent
8da6de3e66
commit
216ddf3da5
2
log.c
2
log.c
@ -48,8 +48,6 @@ log_open(const char *path)
|
|||||||
|
|
||||||
setvbuf(log_file, NULL, _IOLBF, 0);
|
setvbuf(log_file, NULL, _IOLBF, 0);
|
||||||
event_set_log_callback(log_event_cb);
|
event_set_log_callback(log_event_cb);
|
||||||
|
|
||||||
tzset();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Close logging. */
|
/* Close logging. */
|
||||||
|
Loading…
Reference in New Issue
Block a user