mirror of
https://github.com/VirusTotal/yara.git
synced 2026-10-12 02:10:00 +00:00
Fix compilation issue due to wrong operator.
This commit is contained in:
+1
-1
@@ -502,7 +502,7 @@ static int scan_dir(const char_t* dir, SCAN_OPTIONS* scan_opts)
|
||||
|
||||
// If symbolic links must not be followed, and this entry is a symbolic
|
||||
// link, ignore it and continue with the next one.
|
||||
if (!scan_opts.follow_symlinks &&
|
||||
if (!scan_opts->follow_symlinks &&
|
||||
FindFileData.dwFileAttribute & FILE_ATTRIBUTE_REPARSE_POINT)
|
||||
{
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user