cURL / Mailing Lists / curl-users / Single Mail

curl-users

Bogus --libcurl output

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Sat, 18 Apr 2009 23:37:11 +0200

"curl -opktd11.zip ftp://ftp.simtel.net/pub/simtelnet/msdos/pktdrvr/pktd11.zip --libcurl file"
outputs this seemingly bogus string:

int main(int argc, char *argv[])
{
  CURLcode ret;
  CURL *hnd = curl_easy_init();
  curl_easy_setopt(hnd, CURLOPT_WRITEDATA, "P0¼");

Just a FYI.

I think I see why in _my_setopt(); the use of ISGRAPH() seems a bit
weak. But what to do about it?

--gv

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-18