mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-15 10:29:47 +00:00
Rename FS API functions to avoid conflicts
This commit is contained in:
1 parent
49d5aff8f9
commit
8cd4699dbc
7 files changed
+77
-67
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user