reformating
This commit is contained in:
parent
0835ea2124
commit
72e01b2544
1 changed files with 1 additions and 1 deletions
2
surf.c
2
surf.c
|
@ -640,9 +640,9 @@ request(SoupSession *s, SoupMessage *m, gpointer p) {
|
||||||
SoupCookieJar *cookies;
|
SoupCookieJar *cookies;
|
||||||
SoupMessageHeaders *h;
|
SoupMessageHeaders *h;
|
||||||
char *cookiestr;
|
char *cookiestr;
|
||||||
|
|
||||||
soup_message_add_header_handler(m, "got-headers", "Set-Cookie",
|
soup_message_add_header_handler(m, "got-headers", "Set-Cookie",
|
||||||
G_CALLBACK(setcookie), NULL);
|
G_CALLBACK(setcookie), NULL);
|
||||||
|
|
||||||
h = m->request_headers;
|
h = m->request_headers;
|
||||||
cookies = soup_cookie_jar_text_new(cookiefile, TRUE);
|
cookies = soup_cookie_jar_text_new(cookiefile, TRUE);
|
||||||
cookiestr = soup_cookie_jar_get_cookies(cookies, soup_message_get_uri(m), FALSE);
|
cookiestr = soup_cookie_jar_get_cookies(cookies, soup_message_get_uri(m), FALSE);
|
||||||
|
|
Loading…
Reference in a new issue