summaryrefslogtreecommitdiffstats
path: root/lib/libc/yp
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-04-02 19:58:29 +0000
committerwpaul <wpaul@FreeBSD.org>1995-04-02 19:58:29 +0000
commit3c90ffcb6f0515de9d2ef79420da734f5c3249ba (patch)
tree6f58b793cd9e6c218c1b53ed8b4d9f2c84033c09 /lib/libc/yp
parent46d6abb62c17ee7014c0c216fe16e4ef9854d932 (diff)
downloadFreeBSD-src-3c90ffcb6f0515de9d2ef79420da734f5c3249ba.zip
FreeBSD-src-3c90ffcb6f0515de9d2ef79420da734f5c3249ba.tar.gz
Fix xdr_ypmap_parms() so that it agrees with xdr_domainname(), xdr_peername()
and friends.
Diffstat (limited to 'lib/libc/yp')
-rw-r--r--lib/libc/yp/xdryp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/yp/xdryp.c b/lib/libc/yp/xdryp.c
index 7acdf44..c12250b 100644
--- a/lib/libc/yp/xdryp.c
+++ b/lib/libc/yp/xdryp.c
@@ -28,7 +28,7 @@
*/
#ifndef LINT
-static char *rcsid = "$Id: xdryp.c,v 1.1 1994/08/07 23:04:54 wollman Exp $";
+static char *rcsid = "$Id: xdryp.c,v 1.2 1995/04/02 01:02:17 wpaul Exp $";
#endif
#include <sys/param.h>
@@ -449,16 +449,16 @@ xdr_ypmap_parms(xdrs, objp)
XDR *xdrs;
struct ypmap_parms *objp;
{
- if (!xdr_domainname(xdrs, &objp->domain)) {
+ if (!xdr_domainname(xdrs, objp->domain)) {
return (FALSE);
}
- if (!xdr_mapname(xdrs, &objp->map)) {
+ if (!xdr_mapname(xdrs, objp->map)) {
return (FALSE);
}
if (!xdr_u_long(xdrs, &objp->ordernum)) {
return (FALSE);
}
- if (!xdr_peername(xdrs, &objp->owner)) {
+ if (!xdr_peername(xdrs, objp->owner)) {
return (FALSE);
}
}
OpenPOWER on IntegriCloud