diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/LYCookie.c | 7 | ||||
-rw-r--r-- | src/UCdomap.c | 9 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/LYCookie.c b/src/LYCookie.c index be801ab5..57434850 100644 --- a/src/LYCookie.c +++ b/src/LYCookie.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYCookie.c,v 1.129 2014/11/29 15:28:10 Mike.Gorse Exp $ + * $LynxId: LYCookie.c,v 1.131 2015/09/30 22:05:41 tom Exp $ * * Lynx Cookie Support LYCookie.c * =================== @@ -753,10 +753,13 @@ static char *scan_cookie_sublist(char *hostname, */ if ((co->flags & COOKIE_FLAG_EXPIRES_SET) && co->expires <= now) { + next = hl->next; HTList_removeObject(sublist, co); freeCookie(co); total_cookies--; - continue; + if (next) + continue; + break; } /* diff --git a/src/UCdomap.c b/src/UCdomap.c index 7a322909..3023bbb7 100644 --- a/src/UCdomap.c +++ b/src/UCdomap.c @@ -1,5 +1,5 @@ /* - * $LynxId: UCdomap.c,v 1.99 2014/12/10 09:47:34 tom Exp $ + * $LynxId: UCdomap.c,v 1.101 2015/10/02 11:25:55 tom Exp $ * * UCdomap.c * ========= @@ -7,9 +7,10 @@ * This is a Lynx chartrans engine, its external calls are in UCMap.h * * Derived from code in the Linux kernel console driver. - * The GNU Public Licence therefore applies, see - * the file COPYING in the top-level directory - * which should come with every Lynx distribution. + * + * The GNU General Public License therefore applies, see the file + * COPYING in the top-level directory which should come with every Lynx + * distribution. * * [ original comment: - KW ] * |