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
33a18f0f
Commit
33a18f0f
authored
Feb 18, 2012
by
Mikko Koppanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More fixes based on CentOS 6.2 results
parent
d00d4843
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tcp_listener.cpp
src/tcp_listener.cpp
+2
-2
No files found.
src/tcp_listener.cpp
View file @
33a18f0f
...
...
@@ -125,7 +125,7 @@ int zmq::tcp_listener_t::get_address (std::string &addr_)
struct
sockaddr_storage
ss
;
char
host
[
NI_MAXHOST
];
char
serv_info
[
NI_MAXSERV
];
int
port
,
rc
;
int
rc
;
std
::
stringstream
address
;
// Get the details of the TCP socket
...
...
@@ -135,7 +135,7 @@ int zmq::tcp_listener_t::get_address (std::string &addr_)
return
rc
;
}
rc
=
getnameinfo
((
struct
sockaddr
*
)
&
ss
,
s
s
.
ss_len
,
host
,
NI_MAXHOST
,
serv_info
,
NI_MAXSERV
,
NI_NUMERICHOST
);
rc
=
getnameinfo
((
struct
sockaddr
*
)
&
ss
,
s
izeof
(
ss
)
,
host
,
NI_MAXHOST
,
serv_info
,
NI_MAXSERV
,
NI_NUMERICHOST
);
if
(
rc
!=
0
)
{
return
rc
;
}
...
...
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