all: fix minor issues found by staticcheck
Signed-off-by: Moritz Poldrack <git@moritz.sh>
This commit is contained in:
parent
65ae87a524
commit
4bc43d2741
11 changed files with 17 additions and 27 deletions
lib
|
@ -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"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue