summaryrefslogtreecommitdiff
path: root/source3/include/byteorder.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-13 13:35:37 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-13 13:35:37 +0000
commit2225fe13766ae07a44e27cc4a1fb665cf5afc804 (patch)
tree70cf1074ff6495116f8c7ae48f7e7dd33c813df1 /source3/include/byteorder.h
parent369de02a56ce235230e4dc2b70aa9aca32fc66db (diff)
downloadsamba-2225fe13766ae07a44e27cc4a1fb665cf5afc804.tar.gz
samba-2225fe13766ae07a44e27cc4a1fb665cf5afc804.tar.bz2
samba-2225fe13766ae07a44e27cc4a1fb665cf5afc804.zip
debug info added
(This used to be commit a3f96555b47265b8cd4d1f735af58375e2591d56)
Diffstat (limited to 'source3/include/byteorder.h')
-rw-r--r--source3/include/byteorder.h14
1 files changed, 7 insertions, 7 deletions
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)));