diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 1998-02-14 10:05:28 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 1998-02-14 10:05:28 +0000 |
commit | 20b23bad3a2c9534d9423de52045125ac22d06e1 (patch) | |
tree | bf91736dfbb9485a899cee53a922104f63c36d48 /usr.sbin/ypserv/common/yplib_host.c | |
parent | 5a367b914b8fc387ba105a268b315bcf64cb0a72 (diff) |
Don't install a new map if yp_all failed. Noticed by Theo. -moj
Diffstat (limited to 'usr.sbin/ypserv/common/yplib_host.c')
-rw-r--r-- | usr.sbin/ypserv/common/yplib_host.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/common/yplib_host.c b/usr.sbin/ypserv/common/yplib_host.c index 40ad46ce540..7d7282a7d00 100644 --- a/usr.sbin/ypserv/common/yplib_host.c +++ b/usr.sbin/ypserv/common/yplib_host.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yplib_host.c,v 1.8 1998/01/12 20:45:19 maja Exp $ */ +/* $OpenBSD: yplib_host.c,v 1.9 1998/02/14 10:05:26 maja Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> @@ -32,7 +32,7 @@ */ #ifndef LINT -static char *rcsid = "$OpenBSD: yplib_host.c,v 1.8 1998/01/12 20:45:19 maja Exp $"; +static char *rcsid = "$OpenBSD: yplib_host.c,v 1.9 1998/02/14 10:05:26 maja Exp $"; #endif #include <sys/param.h> @@ -307,7 +307,6 @@ struct ypall_callback *incallback; (void) clnt_call(client, YPPROC_ALL, xdr_ypreq_nokey, &yprnk, xdr_ypresp_all_seq, &status, tv); - xdr_free(xdr_ypresp_all_seq, (char *)&status); /* not really needed... */ if(status != YP_FALSE) return ypprot_err(status); |