git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
ac614c7
)
rxgen-multi-prototypes-20080205
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Tue, 5 Feb 2008 17:17:44 +0000 (17:17 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Tue, 5 Feb 2008 17:17:44 +0000 (17:17 +0000)
LICENSE MIT
When 'multi' is applied to an RPC definition, rxgen produced split prototypes,
Start and End, but failed to produce the prototype for the normal RPC call.
src/rxgen/rpc_hout.c
patch
|
blob
|
history
diff --git
a/src/rxgen/rpc_hout.c
b/src/rxgen/rpc_hout.c
index
9204a5f
..
f6b1a62
100644
(file)
--- a/
src/rxgen/rpc_hout.c
+++ b/
src/rxgen/rpc_hout.c
@@
-268,9
+268,9
@@
psprocdef(definition * defp)
(1 << DEF_INPARAM) | (1 << DEF_INOUTPARAM));
psproc1(defp, 1, "int", "End",
(1 << DEF_OUTPARAM) | (1 << DEF_INOUTPARAM));
- } else {
- psproc1(defp, 0, "int", "", 0xFFFFFFFF);
- }
+ }
+ if (!(!multi_flag && split_flag))
+ psproc1(defp, 0, "int", "", 0xFFFFFFFF);
if (uflag && !kflag)
psproc1(defp, 2, "int", "ubik_", 0xFFFFFFFF);