diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-05 19:06:24 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2012-10-05 19:06:24 +0100 |
commit | 63adec13153f08417b4b68c8e2780dd12e175bf1 (patch) | |
tree | 9a84e180966958574c3eba111e073b6eb862f6bf /content/urldb.c | |
parent | 346b061d7be14257c14529dac4714ae39a9396ca (diff) | |
download | netsurf-63adec13153f08417b4b68c8e2780dd12e175bf1.tar.gz netsurf-63adec13153f08417b4b68c8e2780dd12e175bf1.tar.bz2 |
Add comment.
Diffstat (limited to 'content/urldb.c')
-rw-r--r-- | content/urldb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/urldb.c b/content/urldb.c index ff640b15c..6776ebe1a 100644 --- a/content/urldb.c +++ b/content/urldb.c @@ -2447,6 +2447,9 @@ char *urldb_get_cookie(const char *url) assert(url != NULL); + /* The URL must exist in the db in order to find relevant cookies, since + * we search up the tree from the URL node, and cookies from further + * up also apply. */ urldb_add_url(url); p = urldb_find_url(url); |