diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-03-09 22:48:00 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-12 21:00:23 +0100 |
commit | 4bc43d2741fa4904e51fc5da71d15b804c556c43 (patch) | |
tree | 1747e08585ef0c98a13d3477369b4f159071a762 /lib/socket.go | |
parent | 65ae87a524ebbb573626afe951d6cd29bc8b24cd (diff) | |
download | aerc-4bc43d2741fa4904e51fc5da71d15b804c556c43.tar.gz |
all: fix minor issues found by staticcheck
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Diffstat (limited to 'lib/socket.go')
-rw-r--r-- | lib/socket.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socket.go b/lib/socket.go index 119ffdad..814dce12 100644 --- a/lib/socket.go +++ b/lib/socket.go @@ -83,7 +83,7 @@ func (as *AercServer) handleClient(conn net.Conn) { if err != nil { conn.Write([]byte(fmt.Sprintf("result: %v\n", err))) } else { - conn.Write([]byte(fmt.Sprint("result: success\n"))) + conn.Write([]byte("result: success\n")) } } } |