diff options
-rw-r--r-- | src/pmap_svc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pmap_svc.c b/src/pmap_svc.c index 26c31d0..a53dd5f 100644 --- a/src/pmap_svc.c +++ b/src/pmap_svc.c @@ -263,12 +263,14 @@ done_change: rpcbs_unset(RPCBVERS_2_STAT, ans); done: if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)®)) { +#ifdef RPCBIND_DEBUG if (debugging) { (void) xlog(LOG_DEBUG, "unable to free arguments\n"); if (doabort) { rpcbind_abort(); } } +#endif } return (rc); } @@ -347,12 +349,14 @@ pmapproc_getport(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt) done: if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)®)) { +#ifdef RPCBIND_DEBUG if (debugging) { (void) xlog(LOG_DEBUG, "unable to free arguments\n"); if (doabort) { rpcbind_abort(); } } +#endif } return (rc); } @@ -385,12 +389,14 @@ pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt) done: if (!svc_freeargs(xprt, (xdrproc_t) xdr_void, (char *)NULL)) { +#ifdef RPCBIND_DEBUG if (debugging) { (void) xlog(LOG_DEBUG, "unable to free arguments\n"); if (doabort) { rpcbind_abort(); } } +#endif } return (rc); } |