int test(char *URL)
{
- CURLM *multi = NULL;
+ CURLM* multi = NULL;
int res = 0;
char *address = libtest_arg2;
char *port = libtest_arg3;
"http://testserver.example.com:%s/%s%04d", port, path, i);
/* second request must succeed like the first one */
- res = do_one_request(multi, target_url, dns_entry);
- if(res)
+ if((res = do_one_request(multi, target_url, dns_entry)))
goto test_cleanup;
if(i < count)