Skip to content
Snippets Groups Projects
Commit 79e4aee1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

cleaned up

parent 4d280124
No related branches found
No related tags found
No related merge requests found
......@@ -10,26 +10,14 @@
#include <stdio.h>
#include <unistd.h>
#include <curl/curl.h>
/* to make this work under windows, use the win32-functions from the
docs/examples/win32socket.c file as well */
/* This example REQUIRES libcurl 7.7 or later */
#if (LIBCURL_VERSION_NUM < 0x070700)
#error Too old libcurl version, upgrade or stay away.
#endif
int main(int argc, char **argv)
{
CURL *curl;
CURLcode res;
#ifdef MALLOCDEBUG
/* this sends all memory debug messages to a specified logfile */
curl_memdebug("memdump");
#endif
curl_global_init(CURL_GLOBAL_ALL);
curl = curl_easy_init();
if(curl) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment