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

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

CURL *curl;
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
curl_easy_setopt(curl, CURLOPT_HEADER, TRUE);
curl_easy_perform(curl);
curl_easy_cleanup(curl);

#include "last.c"