mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
net.unix: make the error messages in unix_test.v more specific (#20537)
This commit is contained in:
parent
bfbad031a5
commit
9268241f96
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user