Skip to content

Commit

Permalink
[mac] Don't pass event flag as ID (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSchott committed Dec 11, 2020
1 parent d0bb7b8 commit b5c8cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchdog_fsevents.c
Expand Up @@ -299,7 +299,7 @@ watchdog_FSEventStreamCallback(ConstFSEventStreamRef stream_ref,
}
for (i = 0; i < num_events; ++i)
{
id = PyLong_FromLongLong(event_flags[i]);
id = PyLong_FromLongLong(event_ids[i]);
path = PyUnicode_FromString(event_paths[i]);
flags = PyLong_FromLong(event_flags[i]);
if (G_NOT(path && flags && id))
Expand Down

0 comments on commit b5c8cc1

Please sign in to comment.