Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
da4309da
Commit
da4309da
authored
May 30, 2018
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: violation of parameter naming conventions
Solution: change to comply with naming conventions
parent
29f1f39d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ipc_address.cpp
src/ipc_address.cpp
+4
-4
ipc_address.hpp
src/ipc_address.hpp
+1
-1
No files found.
src/ipc_address.cpp
View file @
da4309da
...
...
@@ -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
()
...
...
src/ipc_address.hpp
View file @
da4309da
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment