mirror of
https://github.com/curl/curl.git
synced 2026-05-16 21:26:22 +03:00
examples: use example.com in example URLs
This commit is contained in:
parent
6d272e53a2
commit
18e7b52e8e
27 changed files with 41 additions and 43 deletions
|
|
@ -53,7 +53,7 @@ main(void)
|
|||
if (curl) {
|
||||
char nline[256];
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "http://www.google.com/"); /* google.com sets "PREF" cookie */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "http://www.example.com/");
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_COOKIEFILE, ""); /* just to start the cookie engine */
|
||||
res = curl_easy_perform(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue