diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-05-21 16:24:32 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-05-21 16:24:32 +0200 |
| commit | 0e3f99dcc36ed6044e26e39f2c554803dc053819 (patch) | |
| tree | 83b05aea4418cc9864dd789affb494aeb4360e8d /main.go | |
| parent | eb846695264d871edffb0e09b6d57a1a85793f48 (diff) | |
| download | WRMS-0e3f99dcc36ed6044e26e39f2c554803dc053819.tar.gz WRMS-0e3f99dcc36ed6044e26e39f2c554803dc053819.zip | |
misc cleanups
Reported-By: myOmikron <git@omikron.dev>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |
