mirror of
https://github.com/reactos/wine.git
synced 2025-02-10 22:35:56 +00:00
rpcrt4: Avoid a sizeof in a trace.
This commit is contained in:
parent
61967ff4be
commit
e9d5e5503f
@ -517,7 +517,7 @@ RPC_STATUS RPCRT4_Receive(RpcConnection *Connection, RpcPktHdr **Header,
|
||||
/* 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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user