diff options
Diffstat (limited to 'content/urldb.c')
-rw-r--r-- | content/urldb.c | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/content/urldb.c b/content/urldb.c index 4d4bc3fb2..0556bec5b 100644 --- a/content/urldb.c +++ b/content/urldb.c @@ -1,8 +1,19 @@ /* - * This file is part of NetSurf, http://netsurf-browser.org/ - * Licensed under the GNU General Public License, - * http://www.opensource.org/licenses/gpl-license * Copyright 2006 John M Bell <jmb202@ecs.soton.ac.uk> + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ /** \file @@ -2471,7 +2482,7 @@ char *urldb_get_cookie(const char *url) */ break; } - + /* Consider p itself - may be the result of Path=/foo */ for (c = p->cookies; c; c = c->next) { if (c->expires != 1 && c->expires < now) |