Paste: Test for an article I write (C)

Author: Stéphane Bortzmeyer
Mode: c
Date: Wed, 17 Mar 2010 21:01:18
Plain Text |
 CURL *curl;
  char errbuf[1024];

  curl = curl_easy_init();
  if (! curl) {
    fprintf(stderr, "Cannot initialize curl\n");
    return 1;
  }
  curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, errbuf);

New Annotation

Summary:
Author:
Mode:
Body: