From f9f5f5ce0600ef6c7e539c0f731658f1659e043f Mon Sep 17 00:00:00 2001 From: bel Date: Fri, 4 Dec 2015 20:29:20 +0100 Subject: [PATCH] Fix compile error --- src/civetweb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/civetweb.c b/src/civetweb.c index 52863e46..835cdb7c 100755 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -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;