diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-21 05:52:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-21 05:52:32 +0000 |
commit | 4830111ab38cb1c27824529b5b17de98a6efacf7 (patch) | |
tree | 66a94d0b1b146a9175afd46da417be30ee8e882d /usr.sbin/ypbind/ypbind.c | |
parent | daf542e1d4dd2766d49be72d8f0546fd96fbee90 (diff) |
failures bomb, not seize
Diffstat (limited to 'usr.sbin/ypbind/ypbind.c')
-rw-r--r-- | usr.sbin/ypbind/ypbind.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index 753a8619b66..633effe47a5 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.12 1996/08/28 23:10:06 deraadt Exp $ */ +/* $OpenBSD: ypbind.c,v 1.13 1996/12/21 05:52:31 deraadt Exp $ */ /* * Copyright (c) 1996 Theo de Raadt <deraadt@theos.com> @@ -34,7 +34,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypbind.c,v 1.12 1996/08/28 23:10:06 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypbind.c,v 1.13 1996/12/21 05:52:31 deraadt Exp $"; #endif #include <sys/param.h> @@ -234,7 +234,7 @@ ypbindproc_setdom_2x(transp, argp, clnt) break; case YPSET_NO: default: - return (bool_t *)NULL; + return &res; } if (ntohs(fromsin->sin_port) >= IPPORT_RESERVED) |