From 0e3f99dcc36ed6044e26e39f2c554803dc053819 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 21 May 2023 16:24:32 +0200 Subject: misc cleanups Reported-By: myOmikron --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.go') 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 { -- cgit v1.2.3