Commit da4309da authored by Simon Giesecke's avatar Simon Giesecke

Problem: violation of parameter naming conventions

Solution: change to comply with naming conventions
parent 29f1f39d
......@@ -43,13 +43,13 @@ zmq::ipc_address_t::ipc_address_t ()
memset (&address, 0, sizeof address);
}
zmq::ipc_address_t::ipc_address_t (const sockaddr *sa, socklen_t sa_len)
zmq::ipc_address_t::ipc_address_t (const sockaddr *sa_, socklen_t sa_len_)
{
zmq_assert (sa && sa_len > 0);
zmq_assert (sa_ && sa_len_ > 0);
memset (&address, 0, sizeof address);
if (sa->sa_family == AF_UNIX)
memcpy (&address, sa, sa_len);
if (sa_->sa_family == AF_UNIX)
memcpy (&address, sa_, sa_len_);
}
zmq::ipc_address_t::~ipc_address_t ()
......
......@@ -44,7 +44,7 @@ class ipc_address_t
{
public:
ipc_address_t ();
ipc_address_t (const sockaddr *sa, socklen_t sa_len);
ipc_address_t (const sockaddr *sa_, socklen_t sa_len_);
~ipc_address_t ();
// This function sets up the address for UNIX domain transport.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment