about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.c4
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);
a id='n83' href='#n83'>83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140