cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_PRIVATE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 25 Jan 2010 19:33:42 +0100 (CET)

On Mon, 25 Jan 2010, will griffiths wrote:

> OK sorry seems passing to CURLOPT_PRIVATE as "const char *" is the solution
> here.

"const char *" and "char *" are the exact same pointers when passed in to
curl_easy_setopt() so both work equally fine.

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