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

fix a typo

This commit is contained in:
Daniel Rempel
2015-11-14 03:02:19 +02:00
parent 42e7141ab4
commit 3ed3e9e736

View File

@@ -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)) {