rpcrt4: Avoid a sizeof in a trace.

This commit is contained in:
Alexandre Julliard 2006-11-10 14:29:55 +01:00
parent 61967ff4be
commit e9d5e5503f

View file

@ -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;
}