summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (tox) <tox@s01.de>2009-10-20 14:11:08 +0200
committerEnno Boland (tox) <tox@s01.de>2009-10-20 14:11:08 +0200
commit72e01b254415a66fe2c6782ff8996f44590966e6 (patch)
tree5e853d15235d851b4adf1fd11530f02a44b6023e
parent0835ea21245ee6db049619f3c49ce6c4c41d0be2 (diff)
downloadsurf-72e01b254415a66fe2c6782ff8996f44590966e6.tar.gz
surf-72e01b254415a66fe2c6782ff8996f44590966e6.tar.bz2
surf-72e01b254415a66fe2c6782ff8996f44590966e6.zip
reformating
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index fefb263..6c386fa 100644
--- a/surf.c
+++ b/surf.c
@@ -640,9 +640,9 @@ request(SoupSession *s, SoupMessage *m, gpointer p) {
SoupCookieJar *cookies;
SoupMessageHeaders *h;
char *cookiestr;
+
soup_message_add_header_handler(m, "got-headers", "Set-Cookie",
G_CALLBACK(setcookie), NULL);
-
h = m->request_headers;
cookies = soup_cookie_jar_text_new(cookiefile, TRUE);
cookiestr = soup_cookie_jar_get_cookies(cookies, soup_message_get_uri(m), FALSE);