diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index fa42d9850..b8113a843 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1522,6 +1522,7 @@ static NOINLINE void send_file_and_exit(const char *url, int what) | |||
1522 | struct stat sb; | 1522 | struct stat sb; |
1523 | fstat(fd, &sb); | 1523 | fstat(fd, &sb); |
1524 | file_size = sb.st_size; | 1524 | file_size = sb.st_size; |
1525 | last_mod = sb.st_mtime; | ||
1525 | } else { | 1526 | } else { |
1526 | IF_FEATURE_HTTPD_GZIP(content_gzip = 0;) | 1527 | IF_FEATURE_HTTPD_GZIP(content_gzip = 0;) |
1527 | fd = open(url, O_RDONLY); | 1528 | fd = open(url, O_RDONLY); |