Avoid a harmless compiler warning, and add a missing \n to a
debugging fprintf. Submitted by: Martin Blapp <mb@imp.ch>
This commit is contained in:
parent
caa78f33ed
commit
5732749c1c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79718
@ -334,6 +334,7 @@ rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp,
|
||||
char *saddr, *maddr = NULL;
|
||||
|
||||
free_rpcb_entry_list(&rlist);
|
||||
tail = NULL;
|
||||
prog = regp->r_prog;
|
||||
vers = regp->r_vers;
|
||||
reg_nconf = rpcbind_get_conf(transp->xp_netid);
|
||||
@ -362,7 +363,8 @@ rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp,
|
||||
}
|
||||
#ifdef RPCBIND_DEBUG
|
||||
if (debugging)
|
||||
fprintf(stderr, "\tmerge with: %s", rbl->rpcb_map.r_addr);
|
||||
fprintf(stderr, "\tmerge with: %s\n",
|
||||
rbl->rpcb_map.r_addr);
|
||||
#endif
|
||||
if ((maddr = mergeaddr(transp, rbl->rpcb_map.r_netid,
|
||||
rbl->rpcb_map.r_addr, saddr)) == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user