cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Unsetting options

From: Jeff Pohlmeyer <yetanothergeek_at_yahoo.com>
Date: Fri, 15 Aug 2003 21:32:59 -0700 (PDT)

> > What is the right way for "disabling" or "unsetting" options set by
> > curl_easy_setopt?

> > For function pointers? NULL

It seems like I ran into trouble once before with this one:
  curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, NULL);

So I used this instead:
  curl_easy_setopt(mycurl, CURLOPT_WRITEFUNCTION, fwrite);

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-08-16