cookies: "Add Server" ignores "cookies.accept_policy".
commit96391c17b4bbc8f23d8d7eb7a63ca6f3c384ee69
authorKalle Olavi Niemitalo <kon@iki.fi>
Sat, 27 May 2006 21:56:42 +0000 (28 00:56 +0300)
committerMiciah Dashiel Butler Masters <miciah@FroodyComp.localdomain>
Fri, 2 Jun 2006 19:08:09 +0000 (2 19:08 +0000)
tree91991efdcd93721331be4eb5248124b017ee81a5
parentd10a489a146ea032d27ec843fede0f45b7452096
cookies: "Add Server" ignores "cookies.accept_policy".

src/cookies/dialogs.c (set_server): Set up a struct cookie and pass it
to accept_cookie, instead of calling set_cookie which might ask the user
to confirm.  (This change also removes a dubious use of struct uri.)

src/cookies/cookies.c (get_cookie_server): No longer static.

src/cookies/cookies.h (get_cookie_server): Declare.
src/cookies/cookies.c
src/cookies/cookies.h
src/cookies/dialogs.c