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

vweb fixes

This commit is contained in:
Alexander Medvednikov
2019-11-26 13:54:41 +03:00
parent 53307597b3
commit a3b14e00a2
4 changed files with 38 additions and 22 deletions

View File

@ -318,3 +318,5 @@ pub fn (s Socket) get_port() int {
C.getsockname(s.sockfd, &addr, &size)
return C.ntohs(addr.sin_port)
}