Previous revision was broken on SPARC, fix it by using more appropriate type.

Reported by:	tindebox
Pointy hat to:	delphij
This commit is contained in:
Xin LI 2005-12-21 10:12:05 +00:00
parent 91e7f8f09d
commit 487e86678e

View file

@ -125,7 +125,7 @@ main(int argc, char **argv)
fd_set ready, sockbits;
fd_set v4bits, v6bits;
int ch, connect_type_cnt, i, maxsock, msgsock;
size_t len;
socklen_t len;
int on = 1, unregister, reregister, sock;
int tcp6sock, ip6flag, tcpflag, tcpsock;
int udpflag, ecode, s, srvcnt;