curl-library
proposal: curl_easy_setopt should copy argument strings
From: Vladimir Tsichevski <wowa1_at_online.ru>
Date: Sun, 26 May 2002 13:18:09 +0400
Date: Sun, 26 May 2002 13:18:09 +0400
Hi,
Perusing the libcurl sources I noticed that curl_easy_setopt just
stores the pointers to its char* arguments. So everyone who uses that
procedure should maintain the storage for that strings.
Had curl_easy_setopt() copy the strings with strdup() would solve that
problem.
Regards,
Vladimir V. Tsichevski
expert
______________________________________________________
Any opinions or recommendations herein are those of the
author and not of his computer.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-05-26