From 2225fe13766ae07a44e27cc4a1fb665cf5afc804 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 13 Oct 1997 13:35:37 +0000 Subject: debug info added (This used to be commit a3f96555b47265b8cd4d1f735af58375e2591d56) --- source3/include/byteorder.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source3/include') diff --git a/source3/include/byteorder.h b/source3/include/byteorder.h index 808026f9db..a6f826b518 100644 --- a/source3/include/byteorder.h +++ b/source3/include/byteorder.h @@ -200,30 +200,30 @@ it also defines lots of intermediate macros, just ignore those :-) #define DBG_RW_PCVAL(string,depth,base,read,inbuf,outbuf,len) \ RW_PCVAL(read,inbuf,outbuf,len) \ - DEBUG(5,("%s %04x %s: ", \ + DEBUG(5,("%s%04x %s: ", \ tab_depth(depth), PTR_DIFF(inbuf,base),string)); \ - { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%d ", (outbuf)[idx])); } } \ + { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%x ", (outbuf)[idx])); } } \ DEBUG(5,("\n")); #define DBG_RW_PSVAL(string,depth,base,read,inbuf,outbuf,len) \ RW_PSVAL(read,inbuf,outbuf,len) \ - DEBUG(5,("%s %04x %s: ", \ + DEBUG(5,("%s%04x %s: ", \ tab_depth(depth), PTR_DIFF(inbuf,base),string)); \ - { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%d ", (outbuf)[idx])); } } \ + { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%02x ", (outbuf)[idx])); } } \ DEBUG(5,("\n")); #define DBG_RW_CVAL(string,depth,base,read,inbuf,outbuf) \ RW_CVAL(read,inbuf,outbuf,0) \ - DEBUG(5,("%s %04x %s: %02x\n", \ + DEBUG(5,("%s%04x %s: %02x\n", \ tab_depth(depth), PTR_DIFF(inbuf,base),string, *(inbuf))); #define DBG_RW_SVAL(string,depth,base,read,inbuf,outbuf) \ RW_SVAL(read,inbuf,outbuf,0) \ - DEBUG(5,("%s %04x %s: %04x\n", \ + DEBUG(5,("%s%04x %s: %04x\n", \ tab_depth(depth), PTR_DIFF(inbuf,base),string, *(inbuf))); #define DBG_RW_IVAL(string,depth,base,read,inbuf,outbuf) \ RW_IVAL(read,inbuf,outbuf,0) \ - DEBUG(5,("%s %04x %s: %08x\n", \ + DEBUG(5,("%s%04x %s: %08x\n", \ tab_depth(depth), PTR_DIFF(inbuf,base),string, *(inbuf))); -- cgit