~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Shun time(), since on Linux it is not monotonic with gettimeofday().
[disorder]
/
server
/
choose.c
diff --git
a/server/choose.c
b/server/choose.c
index
10ed360
..
733b3ca
100644
(file)
--- a/
server/choose.c
+++ b/
server/choose.c
@@
-92,7
+92,7
@@
static unsigned long compute_weight(const char *track,
struct kvp *prefs) {
const char *s;
char **track_tags;
- time_t last, now = time(0);
+ time_t last, now =
x
time(0);
/* Reject tracks not in any collection (race between edit config and
* rescan) */