On Fri, 20 Aug 2021, Samuel Marks via curl-library wrote:

curl_easy_setopt(curl, CURLOPT_URL, urlp);

From the CURLOPT_URL man page:

  Pass in a pointer to the URL to work with. The parameter should be a char *
  to a null-terminated string which must be URL-encoded

You seem to have intended to use CURLOPT_CURLU?

--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to