From 73c2d5f730ee745762697fdecbab556e057e7d06 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 21 Dec 1996 05:52:31 +0000 Subject: [PATCH] failures bomb, not seize --- usr.sbin/ypbind/ypbind.c | 6 +++--- 1 file 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 @@ -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 @@ -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) -- 2.20.1