http_conn.c: fix "void function cannot return value" error
authorBjörn Jacke <bj@sernet.de>
Sun, 18 Oct 2020 18:43:26 +0000 (20:43 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 10 Nov 2020 06:53:42 +0000 (06:53 +0000)
this made the studio compiler build break

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/http/http_conn.c

index de1be3f2d8e85f3e8500dcd3d9e1cf474cc2cfb7..ac39a0a58d899a287b65c66aadbb711eac08e38e 100644 (file)
@@ -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)