mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-22 18:28:39 +01:00
Merge pull request #1998 from hitstergtd/x-style-testsrcfd
Problem: Wrapping issue in test for SRCFD [style]
This commit is contained in:
commit
99373ff0b4
@ -89,7 +89,8 @@ int main (void)
|
||||
assert (rc == 0);
|
||||
|
||||
char host [NI_MAXHOST];
|
||||
rc = getnameinfo ((struct sockaddr*) &ss, addrlen, host, sizeof host, NULL, 0, NI_NUMERICHOST);
|
||||
rc = getnameinfo ((struct sockaddr*) &ss, addrlen, host, sizeof host,
|
||||
NULL, 0, NI_NUMERICHOST);
|
||||
assert (rc == 0);
|
||||
|
||||
// assert it is localhost which connected
|
||||
|
Loading…
x
Reference in New Issue
Block a user