mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Fix printing of packet contents to really print the contents instead of destroying them.
svn path=/trunk/; revision=11265
This commit is contained in:
parent
f39899be58
commit
02b3928237
1 changed files with 2 additions and 4 deletions
|
@ -108,8 +108,7 @@ MiniDisplayPacket2(
|
|||
for (i = 0; i < HeaderBufferSize; i++) {
|
||||
if (i % 16 == 0)
|
||||
DbgPrint("\n%04X ", i);
|
||||
DbgPrint("%02X ", *p);
|
||||
*(ULONG_PTR*)p += 1;
|
||||
DbgPrint("%02X ", *p++);
|
||||
}
|
||||
|
||||
DbgPrint("\nFRAME:");
|
||||
|
@ -119,8 +118,7 @@ MiniDisplayPacket2(
|
|||
for (i = 0; i < Length; i++) {
|
||||
if (i % 16 == 0)
|
||||
DbgPrint("\n%04X ", i);
|
||||
DbgPrint("%02X ", *p);
|
||||
*(ULONG_PTR*)p += 1;
|
||||
DbgPrint("%02X ", *p++);
|
||||
}
|
||||
|
||||
DbgPrint("\n*** RECEIVE PACKET STOP ***\n");
|
||||
|
|
Loading…
Reference in a new issue