Skip to content
Browse files

Fixing the fix for issue of ready event :)

  • Loading branch information...
1 parent 72c78ba commit 74ad8f580572e684391475c9a0a0bd2a50981fe5 @mariano committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 binding.cc
View
2 binding.cc
@@ -115,7 +115,7 @@ void node_db::Binding::connectFinished(connect_request_t* request) {
argv[0] = v8::Local<v8::Value>::New(v8::Null());
argv[1] = server;
- request->binding->Emit("ready", 1, argv[1]);
+ request->binding->Emit("ready", 1, &argv[1]);
} else {
argv[0] = v8::String::New(request->error != NULL ? request->error : "(unknown error)");

0 comments on commit 74ad8f5

Please sign in to comment.
Something went wrong with that request. Please try again.