summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/common/yplib_host.c
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1998-02-14 10:05:28 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1998-02-14 10:05:28 +0000
commit20b23bad3a2c9534d9423de52045125ac22d06e1 (patch)
treebf91736dfbb9485a899cee53a922104f63c36d48 /usr.sbin/ypserv/common/yplib_host.c
parent5a367b914b8fc387ba105a268b315bcf64cb0a72 (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.c5
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);