cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_escape question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Apr 2006 20:16:37 +0200 (CEST)

On Fri, 14 Apr 2006, Silex wrote:

> I noticed the function that should be used instead of curl_escape function :
>
> char *curl_easy_escape( CURL * curl , char * url , int length );
>
> I have a problem figuring the need of the 1st argument, what's the use ? Can
> I send NULL instead of passing it my CURL* ?

This is new in 7.15.4, ie the release that is yet to come. And yes, you can
provide a NULL instead of a handle.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-04-14