cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Simple cookie interface!

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 28 Jul 2005 23:54:20 +0200 (CEST)

On Thu, 28 Jul 2005, Peteris Krumins [Newsgroups] wrote:

>> I have no easy work-around for this that doesn't involve simply strduping()
>> the string on entry. But perhaps that's still better than requiring
>> writable and disposable strings as input?
>
> Agree. That is better. I attached a patch which changes this and setopt(3)
> man page. Also numcookies was not set to 0 if cookies were deleted.

Thanks! I couldn't apply your patch since it didn't take my previous changes
into account, but I applied the same logic manually.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-07-28