Skip to content

Commit

Permalink
net.unix: make the error messages in unix_test.v more specific (vlang…
Browse files Browse the repository at this point in the history
  • Loading branch information
kimshrier authored Jan 15, 2024
1 parent bfbad03 commit 9268241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlib/net/unix/unix_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ fn handle_conn(mut c unix.StreamConn) {
for {
mut buf := []u8{len: 100, init: 0}
read := c.read(mut buf) or {
println('Server: connection dropped')
println('Server read: connection dropped')
return
}
c.write(buf[..read]) or {
println('Server: connection dropped')
println('Server write: connection dropped')
return
}
}
Expand Down

0 comments on commit 9268241

Please sign in to comment.