aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 69808bf..8a672fa 100644
--- a/main.go
+++ b/main.go
@@ -138,14 +138,14 @@ func wsEndpoint(w http.ResponseWriter, r *http.Request) {
}
defer func() {
- llog.Info("cancel context of connection %d", id)
+ llog.Info("cancel context of connection %v", id)
cancel()
}()
conn := &Connection{id, make(chan Event), c}
wrms.Connections[id] = conn
- llog.Info("New websocket connection with id %d", id)
+ llog.Info("New websocket connection with id %v", id)
initialCmds := [][]byte{}
if wrms.Playing {