Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/842513f10b61c799d94a0b088d656517a82f255b
...commit
http://git.netsurf-browser.org/netsurf.git/commit/842513f10b61c799d94a0b088d656517a82f255b
...tree
http://git.netsurf-browser.org/netsurf.git/tree/842513f10b61c799d94a0b088d656517a82f255b
The branch, master has been updated
via 842513f10b61c799d94a0b088d656517a82f255b (commit)
from 70b6ca4376cb822487b61692187283c528fb426c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=842513f10b61c799d94a0b088d656517a82f255b
commit 842513f10b61c799d94a0b088d656517a82f255b
Author: John-Mark Bell <[email protected]>
Commit: John-Mark Bell <[email protected]>
URLdb: fix comparison
diff --git a/content/urldb.c b/content/urldb.c
index 242a29c..4bdb10e 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -3557,7 +3557,7 @@ bool urldb_set_hsts_policy(struct nsurl *url, const char
*header)
if (max_age == 0) {
h->hsts.expires = 0;
h->hsts.include_sub_domains = false;
- } else if (now + max_age > h->hsts.expires) {
+ } else if ((time_t) (now + max_age) > h->hsts.expires) {
h->hsts.expires = now + max_age;
}
-----------------------------------------------------------------------
Summary of changes:
content/urldb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/urldb.c b/content/urldb.c
index 242a29c..4bdb10e 100644
--- a/content/urldb.c
+++ b/content/urldb.c
@@ -3557,7 +3557,7 @@ bool urldb_set_hsts_policy(struct nsurl *url, const char
*header)
if (max_age == 0) {
h->hsts.expires = 0;
h->hsts.include_sub_domains = false;
- } else if (now + max_age > h->hsts.expires) {
+ } else if ((time_t) (now + max_age) > h->hsts.expires) {
h->hsts.expires = now + max_age;
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org