From 5d49034c313192fa5f1878321c1ea2cf64cad711 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Tue, 28 Jul 2020 14:35:21 +1000 Subject: [PATCH] http: backend_windows - use Method enum in ssl_do() --- vlib/net/http/backend_windows.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/net/http/backend_windows.c.v b/vlib/net/http/backend_windows.c.v index af68a4948d..e8da3d1701 100644 --- a/vlib/net/http/backend_windows.c.v +++ b/vlib/net/http/backend_windows.c.v @@ -11,7 +11,7 @@ module http fn C.new_tls_context() C.TlsContext -fn (req &Request) ssl_do(port int, method, host_name, path string) ?Response { +fn (req &Request) ssl_do(port int, method Method, host_name, path string) ?Response { mut ctx := C.new_tls_context() C.vschannel_init(&ctx)