diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index c3099d65ee8..cab42b3c277 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -237,14 +237,14 @@ Handle UDPWrap::SetMembership(const Arguments& args, assert(args.Length() == 2); String::Utf8Value address(args[0]->ToString()); - String::Utf8Value interface(args[1]->ToString()); + String::Utf8Value iface(args[1]->ToString()); - const char* interface_cstr = *interface; + const char* iface_cstr = *iface; if (args[1]->IsUndefined() || args[1]->IsNull()) { - interface_cstr = NULL; + iface_cstr = NULL; } - int r = uv_udp_set_membership(&wrap->handle_, *address, interface_cstr, + int r = uv_udp_set_membership(&wrap->handle_, *address, iface_cstr, membership); if (r)