From: Jaroslav Kysela Date: Tue, 2 Feb 2016 10:44:21 +0000 (+0100) Subject: httpc: fix compilation for testsuite X-Git-Tag: v4.2.1~1089 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33cd5ea68215e2cb4723110666a6f6a824ed92c2;p=thirdparty%2Ftvheadend.git httpc: fix compilation for testsuite --- diff --git a/src/httpc.c b/src/httpc.c index 69f07a472..2a6ffbe82 100644 --- a/src/httpc.c +++ b/src/httpc.c @@ -1923,7 +1923,7 @@ http_client_testsuite_run( void ) cmd = http_str2cmd(s + 8); if (cmd < 0) goto fatal; - http_client_basic_args(&args, &u1, 1); + http_client_basic_args(hc, &args, &u1, 1); if (u2.host == NULL || u1.host == NULL || strcmp(u1.host, u2.host) || u2.port != u1.port || !hc->hc_keepalive) { http_client_close(hc);