1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: remove some tests from skip_with_werror in v test-self

This commit is contained in:
Delyan Angelov
2021-04-14 12:47:24 +03:00
parent 980521824f
commit 3e297bced4
16 changed files with 59 additions and 70 deletions

View File

@ -159,7 +159,7 @@ pub fn (c &TcpConn) peer_addr() ?Addr {
}
pub fn (c &TcpConn) peer_ip() ?string {
buf := [44]byte{}
buf := [44]char{}
peeraddr := C.sockaddr_in{}
speeraddr := sizeof(peeraddr)
socket_error(C.getpeername(c.sock.handle, unsafe { &C.sockaddr(&peeraddr) }, &speeraddr)) ?