X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..18ed984a4bb0967b2636c4a0fee1805d3f5e23a9:/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;