From a4e90cfec4966b9cebcab65ae26ecbe6d85868c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= Date: Sun, 18 Oct 2020 20:43:26 +0200 Subject: [PATCH] http_conn.c: fix "void function cannot return value" error this made the studio compiler build break Signed-off-by: Bjoern Jacke Reviewed-by: Andrew Bartlett --- libcli/http/http_conn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libcli/http/http_conn.c b/libcli/http/http_conn.c index de1be3f2d8e..ac39a0a58d8 100644 --- a/libcli/http/http_conn.c +++ b/libcli/http/http_conn.c @@ -156,8 +156,7 @@ static void http_connect_dns_done(struct tevent_req *subreq) if (tevent_req_nomem(state->http_server_ip, req)) { return; } - - return http_connect_tcp_connect(req); + http_connect_tcp_connect(req); } static void http_connect_tcp_connect(struct tevent_req *req)