From 3ed3e9e736fd7086081f3e251f67399d85a68b9c Mon Sep 17 00:00:00 2001 From: Daniel Rempel Date: Sat, 14 Nov 2015 03:02:19 +0200 Subject: [PATCH] fix a typo --- src/civetweb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/civetweb.c b/src/civetweb.c index cb955bb9..283758b4 100644 --- a/src/civetweb.c +++ b/src/civetweb.c @@ -1411,7 +1411,7 @@ mg_fopen(struct mg_connection *conn, memset(filep, 0, sizeof(*filep)); struct stat st; - if (stat(filename, &st) == 0) + if (stat(path, &st) == 0) filep->size = st.st_size; if (!is_file_in_memory(conn, path, filep)) {