Browse Source

fixed the DEBUG: warning for the Last-Modified header check

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@841 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.8
Jan Kneschke 16 years ago
parent
commit
0ea0486d2f
  1. 2
      src/http-header-glue.c

2
src/http-header-glue.c

@ -263,7 +263,7 @@ int http_response_handle_cachable(server *srv, connection *con, buffer *mtime) {
char buf[sizeof("Sat, 23 Jul 2005 21:20:01 GMT")];
/* convert to timestamp */
if (used_len < sizeof(buf) - 1) {
if (used_len < sizeof(buf)) {
time_t t_header, t_file;
struct tm tm;

Loading…
Cancel
Save