mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
cookie_interface.c: changed the other domain to example.com too
This commit is contained in:
parent
afe05ee2ee
commit
7543f28ad2
@ -111,7 +111,7 @@ main(void)
|
||||
*/
|
||||
snprintf(nline, sizeof(nline),
|
||||
"Set-Cookie: OLD_PREF=3d141414bf4209321; "
|
||||
"expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com");
|
||||
"expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.example.com");
|
||||
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
|
||||
if(res != CURLE_OK) {
|
||||
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user