summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-15 22:10:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-11-15 22:10:54 +0000
commit192670d7196891433cd9244ba8bf18258e982044 (patch)
treeea13f96131240d3d0f81db7999a4e88af9870000
parentd2fc079eb91c52fcad4bf503697d02557e8f1cb8 (diff)
make -Ss code correct; ghudson@mit.edu
-rw-r--r--usr.bin/rpcgen/rpc_sample.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/rpcgen/rpc_sample.c b/usr.bin/rpcgen/rpc_sample.c
index 1d4d3ffe8d6..3f4ca36a1d0 100644
--- a/usr.bin/rpcgen/rpc_sample.c
+++ b/usr.bin/rpcgen/rpc_sample.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_sample.c,v 1.2 1996/06/26 05:38:38 deraadt Exp $ */
+/* $OpenBSD: rpc_sample.c,v 1.3 1997/11/15 22:10:53 deraadt Exp $ */
/* $NetBSD: rpc_sample.c,v 1.2 1995/06/11 21:50:01 pk Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -179,10 +179,7 @@ write_sample_server(def)
*/
return_type(proc);
f_print(fout, "* \n");
- if( Cflag )
- pvname_svc(proc->proc_name, vp->vers_num);
- else
- pvname(proc->proc_name, vp->vers_num);
+ pvname_svc(proc->proc_name, vp->vers_num);
printarglist( proc, RQSTP, "struct svc_req *" );
f_print(fout, "{\n");