Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #ifdef _PACKETDUMP
  2. if (*pDestBuf != 0 )
  3. {
  4. TraceError("RECV< %s (%d)", GetRecvHeaderName(*pDestBuf), size);
  5. string contents;
  6. char buf[10];
  7. for(int i = 1; i < size; i++)
  8. {
  9. sprintf(buf," %02x", (unsigned char)(pDestBuf[i]));
  10. contents.append(buf);
  11. }
  12. TraceError(contents.c_str());
  13. }
  14.  
  15. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement