aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib501.c
blob: 4199598fadf7afafc4dd9724e9354880ffae5869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "first.c"

fprintf(stderr, "URL: %s\n", argv[1]);

CURL *curl;
CURLcode res;
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_HEADER, TRUE);
res = curl_easy_perform(curl);
curl_easy_cleanup(curl);

return res;
#include "last.c"