Re: [hackers] [quark][PATCH] fix for NOT_MODIFIED being sent in non-GMT timezone

2020-07-19 Thread Hiltjo Posthuma
On Sun, Jul 19, 2020 at 09:37:31AM -0700, Jeremy wrote: > From: Jeremy Bobbin > > stat(3)'s mtime is in local time while REQ_MOD is in GMT. > This patch translates mtime to GMT before comparing to REQ_MOD. > --- > http.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a

[hackers] [quark][PATCH] fix for NOT_MODIFIED being sent in non-GMT timezone

2020-07-19 Thread Jeremy
From: Jeremy Bobbin stat(3)'s mtime is in local time while REQ_MOD is in GMT. This patch translates mtime to GMT before comparing to REQ_MOD. --- http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http.c b/http.c index 249c168..0c707be 100644 --- a/http.c +++ b/http.c @