mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 21:50:47 +01:00
Misprint in createdImpl fixed
This commit is contained in:
@@ -205,7 +205,7 @@ Timestamp FileImpl::createdImpl() const
|
||||
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return Timestamp::fromEpochTime(st.st_mtime);
|
||||
return Timestamp::fromEpochTime(st.st_birthtime);
|
||||
else
|
||||
handleLastErrorImpl(_path);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user