1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Fix compile error

This commit is contained in:
bel
2015-12-04 20:29:20 +01:00
parent ca4e6d60b4
commit f9f5f5ce06

View File

@@ -2668,7 +2668,7 @@ mg_stat(struct mg_connection *conn, const char *path, struct file *filep)
if (conn && is_file_in_memory(conn, path, filep)) {
/* filep->is_directory = 0; filep->gzipped = 0; .. already done by
* memset */
last_modified = time(NULL);
filep->last_modified = time(NULL);
/* last_modified = now ... assumes the file may change during runtime,
* so every mg_fopen call may return different data */
/* last_modified = conn->ctx.start_time;