chiark / gitweb /
Shun time(), since on Linux it is not monotonic with gettimeofday().
[disorder] / disobedience / queue.c
index 6dac960c6da05e927347aec92f6fea7cc6f40eb1..7779c0fc1ccb8b6c1792ee33cb9d37c7da59fdc5 100644 (file)
@@ -97,7 +97,7 @@ static void playing_completed(void attribute((unused)) *v,
   }
   actual_playing_track = q;
   queue_playing_changed();
-  time(&last_playing);
+  xtime(&last_playing);
 }
 
 /** @brief Schedule an update to the queue