Martin Galvan wrote:
Hi all,

The CURLOPT_ERRORBUFFER docs say:

"You must keep the associated buffer available until libcurl no longer
needs it. Failing to do so will cause very odd behavior or even crashes.
libcurl will need it until you call curl_easy_cleanup or you set the same
option again to use a different pointer."

I believe it means don't do things like set it to an automatic variable in a function and then call libcurl after exiting the function. Don't point it at malloc'd space and then call libcurl after freeing said space, etc.

Rich
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to