curl-library
Allocated curl_easy_setopt() strings
From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Wed, 25 Jul 2007 20:34:15 +0200
Date: Wed, 25 Jul 2007 20:34:15 +0200
When looking at the code and definitions of fields in structure
UserDefined, I note the following strangeness:
_ auth_host is unused. Remove ? Treat as allocated ?
_ private_data is considered as (char *): should be a (void *). Update
code and doc ? Seems it should NOT be allocated (like errorbuffer).
_ source_url is never set, but tested once (commented "3rd party FTP").
Remove definition and code using it ? Treat as allocated ?
_ source_userpwd is unused (commented "3rd party FTP"). Remove ? Treat
as allocated ?
_ cookiejar is fetched with a va_arg of type (void *). Should be (char
*) and allocated. Fix ?
Thanks for your hints,
Patrick
Received on 2007-07-25