Fix socket number logging (Peter McCurdy)

This commit is contained in:
marschap
2007-03-03 20:04:45 +00:00
parent 33b4584f47
commit 3497562a70
+1 -1
View File
@@ -312,7 +312,7 @@ sock_poll_clients ()
__FUNCTION__, sock_geterror()); __FUNCTION__, sock_geterror());
return -1; return -1;
} }
report (RPT_NOTICE, "Connect from host %s:%hd on socket %i", report (RPT_NOTICE, "Connect from host %s:%hu on socket %i",
inet_ntoa (clientname.sin_addr), ntohs (clientname.sin_port), new_sock); inet_ntoa (clientname.sin_addr), ntohs (clientname.sin_port), new_sock);
FD_SET (new_sock, &active_fd_set); FD_SET (new_sock, &active_fd_set);