From 73f51012543f6ac58f504b84f75258370fe86806 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Mon, 27 Dec 2010 05:29:43 +0000 Subject: add gloabl enable cooki setting back in --- xxxterm.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xxxterm.c') diff --git a/xxxterm.c b/xxxterm.c index 64f57d0..0ef3eae 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -84,6 +84,7 @@ THE SOFTWARE. static char *version = "$xxxterm$"; +#define XT_DEBUG /*#define XT_DEBUG*/ #ifdef XT_DEBUG #define DPRINTF(x...) do { if (swm_debug) fprintf(stderr, x); } while (0) @@ -3932,6 +3933,9 @@ setup_cookies(char *file) * framework. */ + if (cookies_enabled == 0) + return; + p_cookiejar = soup_cookie_jar_text_new(file, read_only_cookies); if (enable_cookie_whitelist) { p = SOUP_COOKIE_JAR_GET_CLASS(p_cookiejar); -- cgit 1.4.1-2-gfad0