mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-19 14:57:04 +00:00
Miscellaneous style fixes
This patch has some miscellaneous style fixes to issues found by the staticcheck tool. There are no functional changes.
This commit is contained in:
@@ -213,7 +213,7 @@ func expect(conn *textproto.Conn, prefix string) error {
|
||||
}
|
||||
|
||||
func write(conn *textproto.Conn, msg string) error {
|
||||
_, err := fmt.Fprintf(conn.W, msg)
|
||||
_, err := conn.W.Write([]byte(msg))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user