=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rusers/rusers.c,v retrieving revision 1.19 retrieving revision 1.20 diff -c -r1.19 -r1.20 *** src/usr.bin/rusers/rusers.c 2001/11/07 00:02:58 1.19 --- src/usr.bin/rusers/rusers.c 2002/06/02 19:06:39 1.20 *************** *** 1,4 **** ! /* $OpenBSD: rusers.c,v 1.19 2001/11/07 00:02:58 millert Exp $ */ /* * Copyright (c) 2001 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: rusers.c,v 1.20 2002/06/02 19:06:39 deraadt Exp $ */ /* * Copyright (c) 2001 Todd C. Miller *************** *** 55,61 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: rusers.c,v 1.19 2001/11/07 00:02:58 millert Exp $"; #endif /* not lint */ #include --- 55,61 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: rusers.c,v 1.20 2002/06/02 19:06:39 deraadt Exp $"; #endif /* not lint */ #include *************** *** 355,360 **** --- 355,362 ---- struct timeval tv = { 25, 0 }; int error; + memset(&sin, 0, sizeof sin); + hp = gethostbyname(host); if (hp == NULL) errx(1, "unknown host \"%s\"", host);