From 96f7c96da02c235c0f4511f30ea81c45933bf881 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 26 Jan 2015 11:31:02 +0100 Subject: msg: add --log-file option This allows getting the log at all with --no-terminal and without having to retrieve log messages manually with the client API. The log level is hardcoded to -v. A higher log level would lead to too much log output (huge file sizes and latency issues due to waiting on the disk), and isn't too useful in general anyway. For debugging, the terminal can be used instead. --- osdep/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osdep/timer.c') diff --git a/osdep/timer.c b/osdep/timer.c index 123a78c850..7c57e1ef1c 100644 --- a/osdep/timer.c +++ b/osdep/timer.c @@ -38,7 +38,7 @@ static void do_timer_init(void) // Arbitrary additional offset to avoid confusing relative/absolute times. // Also,we rule that the timer never returns 0 (so default-initialized // time values will be always in the past). - raw_time_offset -= 10000000; + raw_time_offset -= MP_START_TIME; } void mp_time_init(void) -- cgit v1.2.3