diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-07-30 16:06:54 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-07-30 16:06:54 -0400 |
commit | 9c512bbadc47a7de000f53f11a7620d83ca0ddba (patch) | |
tree | 8580cd97bbe59c18fa8d8ee0dbf8e67e1ad413db /src/LYCookie.c | |
parent | a2a1ab1ed484fec332c6dcccb8d033f1c33bb0b5 (diff) | |
download | lynx-snapshots-9c512bbadc47a7de000f53f11a7620d83ca0ddba.tar.gz |
snapshot of project "lynx", label v2-8-3dev_5
Diffstat (limited to 'src/LYCookie.c')
-rw-r--r-- | src/LYCookie.c | 4 |
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)"), |