Squashes a compiler warning about different signedness.
static void
receive(void)
{
- int r, al;
+ int r;
struct nwho_pkt pkt;
struct sockaddr_in sa;
+ socklen_t al = sizeof(sa);
int n = sizeof(struct nwho_pkt) - MAX_USERS * sizeof(struct userinfo);
struct hostrec *e;
struct hostent *h;
char *c;
alarm(DEFAULT_PRUNE_TIME);
- al = sizeof(sa);
r = recvfrom(sock, &pkt, sizeof(pkt), 0, (struct sockaddr *) &sa, &al);
alarm(0);
now = time(NULL);