From c9cb41cf8077cd36ee6dd498769c6d7aeadca942 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sun, 28 Jun 2009 19:34:54 +0200 Subject: [PATCH] Wrong number of arguments being passed to emit in AfterOpen --- src/file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file.cc b/src/file.cc index e1aaa4f880c..a7943e4b63e 100644 --- a/src/file.cc +++ b/src/file.cc @@ -138,7 +138,7 @@ AfterOpen (eio_req *req) HandleScope scope; Local argv[1] = { Integer::New(req->result) }; - promise->EmitSuccess(2, argv); + promise->EmitSuccess(1, argv); return 0; }