]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
httpc: fix compilation for testsuite
authorJaroslav Kysela <perex@perex.cz>
Tue, 2 Feb 2016 10:44:21 +0000 (11:44 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 2 Feb 2016 10:44:21 +0000 (11:44 +0100)
src/httpc.c

index 69f07a472e7238e96456d999282e7ab79564fe0e..2a6ffbe82ccf3110cb77255aca45292e1225d4e0 100644 (file)
@@ -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);