(printbody): Fix -CLMNab output.
This commit is contained in:
parent
6892b766a4
commit
4d8d74583a
@ -268,14 +268,14 @@ printbody (proc_list * proc)
|
|||||||
else
|
else
|
||||||
fprintf (fout, "\t if ");
|
fprintf (fout, "\t if ");
|
||||||
fprintf (fout,
|
fprintf (fout,
|
||||||
"(clnt_call (clnt, %s, (xdrproc_t) xdr_void", proc->proc_name);
|
"(clnt_call (clnt, %s, (xdrproc_t) xdr_void, ", proc->proc_name);
|
||||||
|
|
||||||
fprintf (fout,
|
fprintf (fout,
|
||||||
"(caddr_t) NULL,\n\t\t(xdrproc_t) xdr_%s, (caddr_t) %s%s,",
|
"(caddr_t) NULL,\n\t\t(xdrproc_t) xdr_%s, (caddr_t) %s%s,",
|
||||||
stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type),
|
stringfix(proc->res_type), (mtflag)?"":ampr(proc->res_type),
|
||||||
RESULT);
|
RESULT);
|
||||||
if (mtflag)
|
if (mtflag)
|
||||||
fprintf (fout, "\n\t\tTIMEOUT));\n}\n");
|
fprintf (fout, "\n\t\tTIMEOUT));\n\n");
|
||||||
else
|
else
|
||||||
fprintf (fout, "\n\t\tTIMEOUT) != RPC_SUCCESS) {\n");
|
fprintf (fout, "\n\t\tTIMEOUT) != RPC_SUCCESS) {\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user