use socklen_t where appropriate instead of int

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-08-09 20:53:11 +00:00
parent 2f99d01709
commit 5f648d3799
21 changed files with 40 additions and 36 deletions

View File

@@ -473,7 +473,7 @@ doit (krb5_keytab keytab, int port)
for (i = 0; i < n; ++i)
if (FD_ISSET(sockets[i], &fdset)) {
u_char buf[BUFSIZ];
int addrlen = sizeof(__ss);
socklen_t addrlen = sizeof(__ss);
ret = recvfrom (sockets[i], buf, sizeof(buf), 0,
sa, &addrlen);