Rob Shearman : rpcrt4: Fix a typo in rpcrt4_conn_open_pipe.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 24 06:18:23 CST 2007


Module: wine
Branch: master
Commit: 2103bca4db0cb72d3a7021cea42ad22d39b08930
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2103bca4db0cb72d3a7021cea42ad22d39b08930

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Jan 24 00:27:01 2007 +0000

rpcrt4: Fix a typo in rpcrt4_conn_open_pipe.

Fix a typo in rpcrt4_conn_open_pipe where the initial setting of dwFlags 
was done inside the switch statement instead of at the indented place of 
at the start of the block (thanks to Jan Zerebecki for noticing this bug).

---

 dlls/rpcrt4/rpc_transport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 2776f63..c92d79d 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -165,9 +165,9 @@ static RPC_STATUS rpcrt4_conn_open_pipe(
     DWORD dwFlags = 0;
     if (Connection->QOS)
     {
+        dwFlags = SECURITY_SQOS_PRESENT;
         switch (Connection->QOS->qos->ImpersonationType)
         {
-            dwFlags = SECURITY_SQOS_PRESENT;
             case RPC_C_IMP_LEVEL_DEFAULT:
                 /* FIXME: what to do here? */
                 break;




More information about the wine-cvs mailing list