mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: prohibit casting void
(#10690)
This commit is contained in:
@ -18,7 +18,7 @@ fn (req &Request) ssl_do(port int, method Method, host_name string, path string)
|
||||
$if trace_http_request ? {
|
||||
eprintln('> $sdata')
|
||||
}
|
||||
length := int(C.request(&ctx, port, addr.to_wide(), sdata.str, &buff))
|
||||
length := C.request(&ctx, port, addr.to_wide(), sdata.str, &buff)
|
||||
C.vschannel_cleanup(&ctx)
|
||||
response_text := unsafe { buff.vstring_with_len(length) }
|
||||
$if trace_http_response ? {
|
||||
|
Reference in New Issue
Block a user