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

http: fix new warnings (#6153)

This commit is contained in:
Sandro Martini
2020-08-17 20:17:17 +02:00
committed by GitHub
parent fa11e124dd
commit dab639662f
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ fn (req &Request) ssl_do(port int, method Method, host_name, path string) ?Respo
//println(req_headers)
C.BIO_puts(web, req_headers.str)
mut content := strings.new_builder(100)
mut buff := [bufsize]byte
mut buff := [bufsize]byte{}
mut readcounter := 0
for {
readcounter++