From: Filip Navara Date: Sun, 10 Oct 2004 21:06:13 +0000 (+0000) Subject: Fix printing of packet contents to really print the contents instead of destroying... X-Git-Tag: backups/new_headers@15094~37^2~151 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=02b392823775c5d4740ce34368fd123032d40fac;hp=f39899be58411b31f46fde66ea2ea78dc8d9d133 Fix printing of packet contents to really print the contents instead of destroying them. svn path=/trunk/; revision=11265 --- diff --git a/reactos/drivers/net/ndis/ndis/miniport.c b/reactos/drivers/net/ndis/ndis/miniport.c index 31f34a711af..6edd45ec8aa 100644 --- a/reactos/drivers/net/ndis/ndis/miniport.c +++ b/reactos/drivers/net/ndis/ndis/miniport.c @@ -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");