diff options
Diffstat (limited to 'lib/libcompat/4.3/rexec.c')
| -rw-r--r-- | lib/libcompat/4.3/rexec.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libcompat/4.3/rexec.c b/lib/libcompat/4.3/rexec.c index 7631493d17e..f3e9897bab4 100644 --- a/lib/libcompat/4.3/rexec.c +++ b/lib/libcompat/4.3/rexec.c @@ -1,4 +1,4 @@ -/* $NetBSD: rexec.c,v 1.12 1999/09/16 11:45:47 lukem Exp $ */ +/* $NetBSD: rexec.c,v 1.13 1999/09/20 04:48:04 lukem Exp $ */ /* * Copyright (c) 1980, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)rexec.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: rexec.c,v 1.12 1999/09/16 11:45:47 lukem Exp $"); +__RCSID("$NetBSD: rexec.c,v 1.13 1999/09/20 04:48:04 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -81,10 +81,6 @@ rexec(ahost, rport, name, pass, cmd, fd2p) _DIAGASSERT(pass != NULL); _DIAGASSERT(cmd != NULL); /* fd2p may be NULL */ -#ifdef _DIAGNOSTIC - if (ahost == NULL || name == NULL || pass == NULL || cmd == NULL) - return (-1); -#endif hp = gethostbyname(*ahost); if (hp == 0) { |
