Rob Shearman : rpcrt4: Print the correct values when warning about a bad frag length.
Module: wine Branch: master Commit: 35e99b50f165307af3fc11add928c70d41aaaef1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=35e99b50f165307af3fc11add9... Author: Rob Shearman <rob(a)codeweavers.com> Date: Sun Apr 29 17:46:16 2007 +0100 rpcrt4: Print the correct values when warning about a bad frag length. --- dlls/rpcrt4/rpc_message.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/rpcrt4/rpc_message.c b/dlls/rpcrt4/rpc_message.c index 1086602..a30c925 100644 --- a/dlls/rpcrt4/rpc_message.c +++ b/dlls/rpcrt4/rpc_message.c @@ -691,7 +691,7 @@ RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header, if (((*Header)->common.frag_len < hdr_length) || ((*Header)->common.frag_len - hdr_length < header_auth_len)) { WARN("frag_len %d too small for hdr_length %d and auth_len %d\n", - common_hdr.frag_len, hdr_length, common_hdr.auth_len); + (*Header)->common.frag_len, hdr_length, header_auth_len); status = RPC_S_PROTOCOL_ERROR; goto fail; }
participants (1)
-
Alexandre Julliard