summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-09-13 23:17:28 +0100
committerVincent Sanders <vince@kyllikki.org>2016-09-13 23:17:28 +0100
commite582497322428f72343115f055e9e198047fe3b4 (patch)
tree900bd37d3dd885acaf064dc6777eea3b72701b71 /content
parentc830d14d0bd06dda4eaf7de27ae97b826173afe1 (diff)
downloadnetsurf-e582497322428f72343115f055e9e198047fe3b4.tar.gz
netsurf-e582497322428f72343115f055e9e198047fe3b4.tar.bz2
if the cookie is a session cookie indicate it
previously session cookies were simply displayed as having an expiry in 1970 which was unhelpful.
Diffstat (limited to 'content')
-rw-r--r--content/urldb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/urldb.c b/content/urldb.c
index b27e23c17..4888afcfe 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -112,6 +112,12 @@
#include "content/content.h"
#include "content/urldb.h"
+/**
+ * cookie entry.
+ *
+ * \warn This *must* be kept in sync with the public interface in
+ * netsurf/cookie_db.h
+ */
struct cookie_internal_data {
struct cookie_internal_data *prev; /**< Previous in list */
struct cookie_internal_data *next; /**< Next in list */