Rename FS API functions to avoid conflicts

This commit is contained in:
Sergey Lyubka committed 2022-02-08 13:36:04 +00:00
1 parent 49d5aff8f9
commit 8cd4699dbc
7 files changed
+77 -67

No files matched your search

+1 -1
View File
@@ -609,7 +609,7 @@ static void test_http_server(void) {
char etag[100];
size_t size = 0;
time_t mtime = 0;
ASSERT(mg_fs_posix.stat("./test/data/a.txt", &size, &mtime) != 0);
ASSERT(mg_fs_posix.st("./test/data/a.txt", &size, &mtime) != 0);
ASSERT(mg_http_etag(etag, sizeof(etag), size, mtime) == etag);
ASSERT(fetch(&mgr, buf, url, "GET /a.txt HTTP/1.0\nIf-None-Match: %s\n\n",
etag) == 304);