(write_real_program): Write "result, " parameter if mtflag.
authordrepper <drepper>
Wed, 3 Apr 2002 08:53:44 +0000 (08:53 +0000)
committerdrepper <drepper>
Wed, 3 Apr 2002 08:53:44 +0000 (08:53 +0000)
sunrpc/rpc_svcout.c

index be5829d..a1eb792 100644 (file)
@@ -414,6 +414,8 @@ write_real_program (const definition * def)
              for (l = proc->args.decls; l != NULL; l = l->next)
                f_print (fout, "argp->%s, ", l->decl.name);
            }
+         if (mtflag)
+           f_print (fout, "%s, ", RESULT);
          f_print (fout, "%s));\n}\n", RQSTP);
        }
     }