mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
Fix #1351 - squash warning
This commit is contained in:
1 parent
40b3382023
commit
c7bd63ef53
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -531,7 +531,7 @@ void mg_http_serve_file(struct mg_connection *c, struct mg_http_message *hm,
|
||||
struct mg_str *inm = NULL;
|
||||
|
||||
if (fd == NULL || fs->stat(path, &size, &mtime) == 0) {
|
||||
LOG(LL_DEBUG, ("404 [%.*s] %p", (int) hm->uri.len, hm->uri.ptr, fd));
|
||||
LOG(LL_DEBUG, ("404 [%s] %p", path, (void *) fd));
|
||||
mg_http_reply(c, 404, "", "%s", "Not found\n");
|
||||
fs->close(fd);
|
||||
// NOTE: mg_http_etag() call should go first!
|
||||
|
||||
Reference in new issue
Block a user