Documentation of curl_easy_getinfo says: The data pointed-to will be filled in accordingly and can be relied upon only if the function returns CURLE_OK.
The documentation for the specific option always takes precedence, however in this case there is no conflict. If curl_easy_getinfo returns CURLE_OK then cookies was written to but is NULL if there were no cookies.
Hello,
From CURLINFO_COOKIELIST example:
But "-" stands for
stdin
, isn't it?The text was updated successfully, but these errors were encountered: