mirror of
https://github.com/TTimo/doom3.gpl.git
synced 2026-03-20 17:10:16 +01:00
hello world
This commit is contained in:
14
neo/curl/tests/libtest/lib501.c
Normal file
14
neo/curl/tests/libtest/lib501.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "test.h"
|
||||
|
||||
int test(char *URL)
|
||||
{
|
||||
CURLcode res;
|
||||
CURL *curl = curl_easy_init();
|
||||
|
||||
(void)URL; /* we don't use this */
|
||||
curl_easy_setopt(curl, CURLOPT_HEADER, TRUE);
|
||||
res = curl_easy_perform(curl);
|
||||
curl_easy_cleanup(curl);
|
||||
return res;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user