| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
RE: Allocated curl_easy_setopt() strings
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 29 Jul 2007 15:43:33 +0200 (CEST)
On Fri, 27 Jul 2007, Daniel Stenberg wrote:
> Great. It does cause a little (easily fixed) warning in lib/url.c, but more
Ok, I found and fixed the problem (in Curl_dupset()), and I've attached the
But I had another thought on the approach: since there are now no less than 30
I mean like this (pseudo-code to display the concept in my mind):
enum {
/* to extract a single string in the code, we get it from the array */
/* and thus when we set this string in lib/url.c:Curl_setopt() we'd do: */
Since then we can use a simple loop in Curl_dupset(), and dupset would also
What do you (meaning everyone, not just Patrick) say?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info