Commit 2103bca4 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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).
parent 61f646f2
......@@ -165,9 +165,9 @@ static RPC_STATUS rpcrt4_conn_open_pipe(RpcConnection *Connection, LPCSTR pname,
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment