cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Is it safe to ask for a CURLOPT_PRIVATE if one wasn't input?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Dec 2010 12:27:50 +0100 (CET)

On Wed, 22 Dec 2010, Michael Menegakis wrote:

> As the title implies. Is it legal to ask for a CURLOPT_PRIVATE with
> curl_easy_getinfo if curl_easy_setopt didn't give it one?

I'm pretty sure you'll get a NULL pointer out if nothing was ever set.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-22