Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
update fs_event_wrap.cc to work with new uv_fs_event_init api
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Nov 5, 2011
1 parent 6545a6d commit 1a9286c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fs_event_wrap.cc
Expand Up @@ -105,7 +105,7 @@ Handle<Value> FSEventWrap::Start(const Arguments& args) {

String::Utf8Value path(args[0]->ToString());

int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent);
int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent, 0);
if (r == 0) {
// Check for persistent argument
if (!args[1]->IsTrue()) {
Expand Down

0 comments on commit 1a9286c

Please sign in to comment.