Fixes
This commit is contained in:
@@ -490,9 +490,10 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetFileAttributesW :
|
||||
public CEvent
|
||||
{
|
||||
public:
|
||||
DokanSetFileAttributesW(const SString& cachePath) :
|
||||
DokanSetFileAttributesW(const SString& cachePath, const NTSTATUS& ret) :
|
||||
CEvent(EventLevel::Debug),
|
||||
_cachePath(cachePath)
|
||||
_cachePath(cachePath),
|
||||
_ret(ret)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -503,16 +504,17 @@ public:
|
||||
|
||||
private:
|
||||
const SString _cachePath;
|
||||
const NTSTATUS _ret;
|
||||
|
||||
public:
|
||||
virtual std::shared_ptr<CEvent> Clone() const override
|
||||
{
|
||||
return std::shared_ptr<CEvent>(new DokanSetFileAttributesW(_cachePath));
|
||||
return std::shared_ptr<CEvent>(new DokanSetFileAttributesW(_cachePath, _ret));
|
||||
}
|
||||
|
||||
virtual SString GetSingleLineMessage() const override
|
||||
{
|
||||
return L"DokanSetFileAttributesW|PATH|" + _cachePath;
|
||||
return L"DokanSetFileAttributesW|PATH|" + _cachePath + "|RET|" + SString::FromUInt64(_ret);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user