X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/5bb00bddc726ec1718ac67ae6283f7d5ac81f84a..4265e5d362914f3732b4035dcf67162e525e0142:/cgi/actions.c diff --git a/cgi/actions.c b/cgi/actions.c index d752660..ab52c2d 100644 --- a/cgi/actions.c +++ b/cgi/actions.c @@ -75,7 +75,7 @@ static void act_playing(void) { && length && dcgi_playing->sofar >= 0) { /* Try to put the next refresh at the start of the next track. */ - time(&now); + xtime(&now); fin = now + length - dcgi_playing->sofar + config->gap; if(now + refresh > fin) refresh = fin - now;