aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-05-21 16:24:32 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-05-21 16:24:32 +0200
commit0e3f99dcc36ed6044e26e39f2c554803dc053819 (patch)
tree83b05aea4418cc9864dd789affb494aeb4360e8d /main.go
parenteb846695264d871edffb0e09b6d57a1a85793f48 (diff)
downloadWRMS-0e3f99dcc36ed6044e26e39f2c554803dc053819.tar.gz
WRMS-0e3f99dcc36ed6044e26e39f2c554803dc053819.zip
misc cleanups
Reported-By: myOmikron <git@omikron.dev>
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 {