Skip to content

Commit 27e19a0

Browse files
yhiroseCopilot
andauthored
Update httplib.h
Co-authored-by: Copilot <[email protected]>
1 parent 7bbff16 commit 27e19a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httplib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3167,7 +3167,7 @@ inline bool FileStat::is_dir() const {
31673167
}
31683168

31693169
inline time_t FileStat::mtime() const {
3170-
return ret_ >= 0 ? static_cast<time_t>(st_.st_mtime) : 0;
3170+
return ret_ >= 0 ? static_cast<time_t>(st_.st_mtime) : static_cast<time_t>(-1);
31713171
}
31723172

31733173
inline size_t FileStat::size() const {

0 commit comments

Comments
 (0)