diff options
author | Marco Peereboom <marco@conformal.com> | 2010-12-27 05:29:43 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2010-12-27 05:29:43 +0000 |
commit | 73f51012543f6ac58f504b84f75258370fe86806 (patch) | |
tree | 49da6f21824c51c6f4cc0f3ed9dc62eee3f448ea | |
parent | b8c934c8b48c7766eeb1feb3ade27eb341738e4d (diff) | |
download | xombrero-73f51012543f6ac58f504b84f75258370fe86806.tar.gz |
add gloabl enable cooki setting back in
-rw-r--r-- | xxxterm.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |