about summary refs log tree commit diff stats
path: root/src/LYCookie.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-07-30 16:06:54 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-07-30 16:06:54 -0400
commit9c512bbadc47a7de000f53f11a7620d83ca0ddba (patch)
tree8580cd97bbe59c18fa8d8ee0dbf8e67e1ad413db /src/LYCookie.c
parenta2a1ab1ed484fec332c6dcccb8d033f1c33bb0b5 (diff)
downloadlynx-snapshots-9c512bbadc47a7de000f53f11a7620d83ca0ddba.tar.gz
snapshot of project "lynx", label v2-8-3dev_5
Diffstat (limited to 'src/LYCookie.c')
-rw-r--r--src/LYCookie.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c
index a3640e32..ea5bd4d3 100644
--- a/src/LYCookie.c
+++ b/src/LYCookie.c
@@ -629,7 +629,9 @@ PRIVATE char * scan_cookie_sublist ARGS6(
 	co = (cookie *)hl->object;
 	next = hl->next;
 
-	if (co) {
+       if ((co) && /* speed-up host_matches() and limit trace output */
+	   (LYstrstr((char *)hostname, co->domain) != NULL))
+       {
 	    CTRACE(tfp, "Checking cookie %p %s=%s\n",
 			hl,
 			(co->name ? co->name : "(no name)"),
d='n155' href='#n155'>155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184