Robert Shearman : rpcrt4: Even though FC_DEREFERENCE conformance is handled elsewhere in

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 26 13:55:22 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 013d00f094dd8c1449fc26f0259c466c50fd9c6e
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=013d00f094dd8c1449fc26f0259c466c50fd9c6e

Author: Robert Shearman <rob at codeweavers.com>
Date:   Fri May 26 15:50:49 2006 +0100

rpcrt4: Even though FC_DEREFERENCE conformance is handled elsewhere in
ComputeConformanceOrVariance it is still necessary to set the count
variable to the value retrieved.

---

 dlls/rpcrt4/ndr_marshall.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 06ce04a..7516edd 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -489,12 +489,10 @@ PFORMAT_STRING ComputeConformanceOrVaria
 
 done_conf_grab:
   switch (pFormat[1]) {
+  case RPC_FC_DEREFERENCE: /* already handled */
   case 0: /* no op */
     *pCount = data;
     break;
-  case RPC_FC_DEREFERENCE:
-    /* already handled */
-    break;
   case RPC_FC_ADD_1:
     *pCount = data + 1;
     break;




More information about the wine-cvs mailing list