mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-14 09:06:25 +02:00
21 lines
764 B
Diff
21 lines
764 B
Diff
--- a/src/pipe_wrap.cc
|
|
+++ b/src/pipe_wrap.cc
|
|
@@ -162,7 +162,7 @@
|
|
PipeWrap* wrap;
|
|
ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder());
|
|
node::Utf8Value name(args.GetIsolate(), args[0]);
|
|
- int err = uv_pipe_bind2(&wrap->handle_, *name, name.length(), 0);
|
|
+ int err = uv_pipe_bind(&wrap->handle_, *name);
|
|
args.GetReturnValue().Set(err);
|
|
}
|
|
|
|
@@ -226,7 +226,7 @@
|
|
ConnectWrap* req_wrap =
|
|
new ConnectWrap(env, req_wrap_obj, AsyncWrap::PROVIDER_PIPECONNECTWRAP);
|
|
req_wrap->Dispatch(
|
|
- uv_pipe_connect2, &wrap->handle_, *name, name.length(), 0, AfterConnect);
|
|
+ uv_pipe_connect, &wrap->handle_, *name, AfterConnect);
|
|
|
|
TRACE_EVENT_NESTABLE_ASYNC_BEGIN1(TRACING_CATEGORY_NODE2(net, native),
|
|
"connect",
|