send_file() uses the format:
const char *fmt = "%a, %d %b %Y %H:%M:%S GMT";
but then uses localtime() as the parameter to strftime():
(void) strftime(date, sizeof(date), fmt, localtime(&curtime));
(void) strftime(lm, sizeof(lm), fmt, localtime(&stp->mtime));
Wouldn't this create a time string that indicates that it is GMT, but is
instead local time. Shouldn't localtime() be replaced by gmtime()?
Original issue reported on code.google.com by gilbert....@gmail.com on 20 May 2009 at 5:06
Original issue reported on code.google.com by
gilbert....@gmail.com
on 20 May 2009 at 5:06