diff options
author | wpaul <wpaul@FreeBSD.org> | 1998-01-19 23:31:38 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1998-01-19 23:31:38 +0000 |
commit | 73bd479ece8b41203de86efb37cf3c3088b81c7b (patch) | |
tree | ef5b9e79bd7e7ca28aa0ec0e6a54613c54e7203d /usr.sbin/ypbind/yp_ping.c | |
parent | ec7457e7f1d4df211e3a0c8477d9092861849499 (diff) | |
download | FreeBSD-src-73bd479ece8b41203de86efb37cf3c3088b81c7b.zip FreeBSD-src-73bd479ece8b41203de86efb37cf3c3088b81c7b.tar.gz |
Also fix ypbind to compile with ANSI-fied /usr/include/rpcsvc. One of
these days I really should rerwite this creature from the ground up.
Diffstat (limited to 'usr.sbin/ypbind/yp_ping.c')
-rw-r--r-- | usr.sbin/ypbind/yp_ping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypbind/yp_ping.c b/usr.sbin/ypbind/yp_ping.c index 6550ab0..bc6d319 100644 --- a/usr.sbin/ypbind/yp_ping.c +++ b/usr.sbin/ypbind/yp_ping.c @@ -72,7 +72,7 @@ static char *sccsid = "@(#)from: clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro"; static char *sccsid = "@(#)from: clnt_udp.c 2.2 88/08/01 4.0 RPCSRC"; #endif static const char rcsid[] = - "$Id$"; + "$Id: yp_ping.c,v 1.3 1997/10/27 07:45:45 charnier Exp $"; #endif /* @@ -451,7 +451,7 @@ int __yp_ping(restricted_addrs, cnt, dom, port) struct timeval tv = { 5 , 0 }; struct ping_req **reqs; unsigned long i; - struct sockaddr_in sin, *any; + struct sockaddr_in sin, *any = NULL; int winner = -1; time_t xid_seed, xid_lookup; int sock, dontblock = 1; |