Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
httpc: fix compilation for testsuite
  • Loading branch information
perexg committed Feb 2, 2016
1 parent eccb003 commit 33cd5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpc.c
Expand Up @@ -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);
Expand Down

0 comments on commit 33cd5ea

Please sign in to comment.