cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Working with curl connections as with sockets.

From: Michal Marek <mmarek_at_suse.cz>
Date: Tue, 29 Apr 2008 16:23:46 +0200

tetetest tetetest wrote:
>> The second argument to curl_easy_send() should be a const char *.
>
> Hmmm... Curl_write() uses "void*" for this parameter, so there will be a
> cast... Or am I thinking C++?

We can fix Curl_write() to take a const pointer, AFAICS there buffer is
really left intact by all the *_send functions.

Michal
Received on 2008-04-29