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
This commit is contained in:
parent
0ed6b72923
commit
0ea0486d2f
|
@ -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…
Reference in New Issue