cURL / Mailing Lists / curl-library / Single Mail

curl-library

Does CURL_OPT_URL copy its data?

From: <richardcavell_at_mail.com>
Date: Fri, 25 Mar 2011 00:26:22 -0400

Hi,

When setting the URL with:

CURLcode res = curl_easy_setopt (h->curlhandle, CURLOPT_URL,
szloginurl);

Is it necessary that szloginurl be in scope when curl_easy_perform() is
run?

Richard

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-25