diff options
Diffstat (limited to 'sunrpc/pmap_prot.c')
-rw-r--r-- | sunrpc/pmap_prot.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sunrpc/pmap_prot.c b/sunrpc/pmap_prot.c index 9829718..3db27a9 100644 --- a/sunrpc/pmap_prot.c +++ b/sunrpc/pmap_prot.c @@ -49,9 +49,10 @@ xdr_pmap (xdrs, regs) struct pmap *regs; { - if (xdr_u_long (xdrs, ®s->pm_prog) && - xdr_u_long (xdrs, ®s->pm_vers) && - xdr_u_long (xdrs, ®s->pm_prot)) - return xdr_u_long (xdrs, ®s->pm_port); + if (INTUSE(xdr_u_long) (xdrs, ®s->pm_prog) && + INTUSE(xdr_u_long) (xdrs, ®s->pm_vers) && + INTUSE(xdr_u_long) (xdrs, ®s->pm_prot)) + return INTUSE(xdr_u_long) (xdrs, ®s->pm_port); return FALSE; } +INTDEF(xdr_pmap) |