mirror of
https://github.com/curl/curl.git
synced 2026-07-16 03:17:15 +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
|
|
@ -43,9 +43,9 @@ int main(int argc, char **argv)
|
|||
handles[i] = curl_easy_init();
|
||||
|
||||
/* set the options (I left out a few, you'll get the point anyway) */
|
||||
curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "http://website.com");
|
||||
curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "http://example.com");
|
||||
|
||||
curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://ftpsite.com");
|
||||
curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com");
|
||||
curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L);
|
||||
|
||||
/* init a multi stack */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue