diff options
Diffstat (limited to 'src/HTFWriter.c')
-rw-r--r-- | src/HTFWriter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTFWriter.c b/src/HTFWriter.c index aadd1dbd..64172a7f 100644 --- a/src/HTFWriter.c +++ b/src/HTFWriter.c @@ -891,8 +891,8 @@ Prepend_BASE: fprintf(ret_obj->fp, "<!-- Date: %s -->\n", anchor->date); if (anchor->last_modified && *anchor->last_modified - && !strcmp(anchor->last_modified, anchor->date) - && !strcmp(anchor->last_modified, ctime((time_t)0))) { + && strcmp(anchor->last_modified, anchor->date) + && strcmp(anchor->last_modified, "Thu, 01 Jan 1970 00:00:01 GMT")) { fprintf(ret_obj->fp, "<!-- Last-Modified: %s -->\n", anchor->last_modified); } |