Alexandre Julliard : rpcrt4: Avoid a sizeof in a trace.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Nov 10 07:44:39 CST 2006
Module: wine
Branch: master
Commit: e9d5e5503f681801a1154873a6b14a8270fb93d4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e9d5e5503f681801a1154873a6b14a8270fb93d4
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Nov 10 14:29:55 2006 +0100
rpcrt4: Avoid a sizeof in a trace.
---
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 9c7ea15..dee69a0 100644
--- a/dlls/rpcrt4/rpc_message.c
+++ b/dlls/rpcrt4/rpc_message.c
@@ -517,7 +517,7 @@ RPC_STATUS RPCRT4_Receive(RpcConnection
/* read the rest of packet header */
dwRead = rpcrt4_conn_read(Connection, &(*Header)->common + 1, hdr_length - sizeof(common_hdr));
if (dwRead != hdr_length - sizeof(common_hdr)) {
- WARN("bad header length, %d/%d bytes\n", dwRead, hdr_length - sizeof(common_hdr));
+ WARN("bad header length, %d bytes, hdr_length %d\n", dwRead, hdr_length);
status = RPC_S_PROTOCOL_ERROR;
goto fail;
}
More information about the wine-cvs
mailing list