summaryrefslogtreecommitdiff
path: root/bin/date
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-18 19:23:30 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-18 19:23:30 +0000
commit055d56d65e6cfd4ecb1b3ce7a9dfe39aa96406ec (patch)
treedbb252721f4f18c2edebadb5f865a64e83ce601b /bin/date
parentbb66306f2980d3b189c751cc5069a4303e38cabe (diff)
(foo *)0 -> NULL
Diffstat (limited to 'bin/date')
-rw-r--r--bin/date/netdate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/date/netdate.c b/bin/date/netdate.c
index b4190ce4f0f..4ef012bab88 100644
--- a/bin/date/netdate.c
+++ b/bin/date/netdate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netdate.c,v 1.7 1997/06/11 17:15:25 deraadt Exp $ */
+/* $OpenBSD: netdate.c,v 1.8 1997/06/18 19:21:39 kstailey Exp $ */
/* $NetBSD: netdate.c,v 1.10 1995/09/07 06:21:06 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)netdate.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: netdate.c,v 1.7 1997/06/11 17:15:25 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: netdate.c,v 1.8 1997/06/18 19:21:39 kstailey Exp $";
#endif
#endif /* not lint */
@@ -144,7 +144,7 @@ loop:
memset(fdsp, 0, fdsn);
FD_SET(s, fdsp);
- found = select(s+1, fdsp, (fd_set *)0, (fd_set *)0, &tout);
+ found = select(s+1, fdsp, NULL, NULL, &tout);
length = sizeof(error);
if (!getsockopt(s,