]> granicus.if.org Git - curl/commitdiff
cookie_interface.c: changed the other domain to example.com too
authorDaniel Stenberg <daniel@haxx.se>
Wed, 26 Apr 2017 22:30:34 +0000 (00:30 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 26 Apr 2017 22:30:34 +0000 (00:30 +0200)
docs/examples/cookie_interface.c

index 3341d34974f6ce361392446d20fa4dbb2ef81009..53840a2decd3b872a4a99bcdf9334237c653fe2a 100644 (file)
@@ -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",