cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL_NO_OLDIES &

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 12 Aug 2016 20:21:57 +0200

On Fri, Aug 12, 2016 at 01:53:54PM -0400, John Coffey wrote:
> Trying always to move forward, I recently added this preprocessor define to my
> project and I received the following compilation error:
>
> error C2065: 'CURLOPT_WRITEHEADER': undeclared identifier
>
> Looking at the documentation I am not sure what the suggested replacement is.
>
> Could someone point me in the right direction as to how I should correctly
> process headers - specifically if there is a suggested alternative to using the
> CURLOPT_WRITEHEADER option.

The curl.h file provides the answer:

#define CURLOPT_WRITEHEADER CURLOPT_HEADERDATA

>>> Dan
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-12