(recv_conn): type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7551 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -138,7 +138,8 @@ recv_conn (int sock, kx_context *kc,
|
||||
kc->thisaddr = thisaddr;
|
||||
kc->thataddr = thataddr;
|
||||
|
||||
getnameinfo_verified (&thataddr, addrlen, remotehost, sizeof(remotehost),
|
||||
getnameinfo_verified ((struct sockaddr *)&thataddr, addrlen,
|
||||
remotehost, sizeof(remotehost),
|
||||
NULL, 0, 0);
|
||||
|
||||
if (net_read (sock, msg, 4) != 4) {
|
||||
|
Reference in New Issue
Block a user