mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 13:02:10 -05:00
dll: fuse: ReadDirectory: log invalid directory entries
This commit is contained in:
parent
9066338220
commit
e71aea8ad7
@ -1738,9 +1738,9 @@ static VOID fsp_fuse_intf_LogBadDirInfo(
|
||||
const char *PosixPath, const char *PosixName, const char *Message)
|
||||
{
|
||||
static LONG Count = 0;
|
||||
LONG NewCount;
|
||||
ULONG NewCount;
|
||||
|
||||
NewCount = InterlockedIncrement(&Count);
|
||||
NewCount = (ULONG)InterlockedIncrement(&Count);
|
||||
|
||||
/* log only the first 5 such warnings to avoid warning overload */
|
||||
if (5 >= NewCount)
|
||||
|
Loading…
x
Reference in New Issue
Block a user