mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-27 20:48:29 +00:00
Fix mg_stat
PUBLISHED_FROM=e6fb19c5256b6d43359f21b325e16b415152f26f
This commit is contained in:
1 parent
ea7d69060d
commit
7267fc757d
2 files changed
+1
-5
No files matched your search
+1
-1
@@ -9142,7 +9142,7 @@ int mg_stat(const char *path, cs_stat_t *st) {
|
||||
wchar_t wpath[MAX_PATH_SIZE];
|
||||
to_wchar(path, wpath, ARRAY_SIZE(wpath));
|
||||
DBG(("[%ls] -> %d", wpath, _wstati64(wpath, st)));
|
||||
return _wstati64(wpath, (struct _stati64 *) st);
|
||||
return _wstati64(wpath, st);
|
||||
#else
|
||||
return stat(path, st);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user