diff options
Diffstat (limited to 'testprogs')
-rw-r--r-- | testprogs/win32/midltests/midltests_tcp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testprogs/win32/midltests/midltests_tcp.c b/testprogs/win32/midltests/midltests_tcp.c index 306a23b377..25c4584389 100644 --- a/testprogs/win32/midltests/midltests_tcp.c +++ b/testprogs/win32/midltests/midltests_tcp.c @@ -101,18 +101,18 @@ static void dump_packet(const char *ctx, const char *direction, switch (hdr->ptype) { case 0: /* request */ - printf("%s:%s: ptype[request] flen[%d] plen[%d]\n\n", + printf("%s:%s: ptype[request] flen[%d] plen[%d] ahint[%d]\n\n", ctx, direction, hdr->frag_length, - len - 24); + len - 24, *(DWORD *)(&buf[0x10])); dump_data(buf + 24, len - 24); printf("\n"); fflush(stdout); break; case 2: /* response */ - printf("\n%s:%s: ptype[response] flen[%d] plen[%d]\n\n", + printf("\n%s:%s: ptype[response] flen[%d] plen[%d] ahint[%d]\n\n", ctx, direction, hdr->frag_length, - len - 24); + len - 24, *(DWORD *)(&buf[0x10])); dump_data(buf + 24, len - 24); printf("\n"); fflush(stdout); |