Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef _PACKETDUMP
- if (*pDestBuf != 0 )
- {
- TraceError("RECV< %s (%d)", GetRecvHeaderName(*pDestBuf), size);
- string contents;
- char buf[10];
- for(int i = 1; i < size; i++)
- {
- sprintf(buf," %02x", (unsigned char)(pDestBuf[i]));
- contents.append(buf);
- }
- TraceError(contents.c_str());
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement