cURL / Mailing Lists / curl-library / Single Mail


Help: getting the current url

From: Am Ro <>
Date: Thu, 10 Apr 2008 16:15:22 -0400

In my program, I need to be able to get the original url and compare
it to the current url. I have tried this code, but it prints \270 to
the screen:

int connect(const char* aURL)
const char *currentUrl;
CURL *urlHandler;
curl_easy_setopt(urlHandle, CURLOPT_URL, aURL);

if (aUrl == currentUrl)
Received on 2008-04-10