summaryrefslogtreecommitdiffstats
path: root/updates.go
diff options
context:
space:
mode:
Diffstat (limited to 'updates.go')
-rw-r--r--updates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/updates.go b/updates.go
index 78db802..e0917cc 100644
--- a/updates.go
+++ b/updates.go
@@ -58,7 +58,7 @@ func addUpdate(pid int, action uint, song *Song) {
listeners[pid] = nil
}
-// assumes locked
+// assumes caller has updateLock
func checkUpdates(pid int, timestamp int64) *Update {
pup, _ := headUpdates[pid]
for pup != nil {