mirror of
https://github.com/curl/curl.git
synced 2026-07-24 16:17:15 +03:00
language!
This commit is contained in:
parent
662cb30372
commit
a94e117ede
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ int main(int argc, char **argv)
|
|||
/* we pass our 'chunk' struct to the callback function */
|
||||
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk);
|
||||
|
||||
/* some servers don't like requests that are made withput a user-agent
|
||||
/* some servers don't like requests that are made without a user-agent
|
||||
field, so we provide one */
|
||||
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue