We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbff16 commit 27e19a0Copy full SHA for 27e19a0
httplib.h
@@ -3167,7 +3167,7 @@ inline bool FileStat::is_dir() const {
3167
}
3168
3169
inline time_t FileStat::mtime() const {
3170
- return ret_ >= 0 ? static_cast<time_t>(st_.st_mtime) : 0;
+ return ret_ >= 0 ? static_cast<time_t>(st_.st_mtime) : static_cast<time_t>(-1);
3171
3172
3173
inline size_t FileStat::size() const {
0 commit comments