getaddrinfo.3: wsfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Joe Brown 2017-07-05 10:39:08 +02:00 committed by Michael Kerrisk
parent 25d4adc278
commit 5df38b3325
1 changed files with 1 additions and 1 deletions

View File

@ -733,7 +733,7 @@ main(int argc, char *argv[])
s = getnameinfo((struct sockaddr *) &peer_addr,
peer_addr_len, host, NI_MAXHOST,
service, NI_MAXSERV, NI_NUMERICSERV);
if (s == 0)
if (s == 0)
printf("Received %zd bytes from %s:%s\\n",
nread, host, service);
else