summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-13 12:21:56 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-13 12:21:56 +0000
commit2259e56a947104b19a1196154af4e43ab15e4b7c (patch)
treed5ee15b237ddc33e1d06df99d8bf1cd3cb98a39b /source3/include
parent6032ec8a0172b9197ed1422e39ba4790d8df83f8 (diff)
downloadsamba-2259e56a947104b19a1196154af4e43ab15e4b7c.tar.gz
samba-2259e56a947104b19a1196154af4e43ab15e4b7c.tar.bz2
samba-2259e56a947104b19a1196154af4e43ab15e4b7c.zip
byteorder.h :
debugging output wasn't (still isn't) perfect. credentials.c lsaparse.c smbparse.c : added DEBUG strings. pipes.c : lost some changes, to do with setup of RPC headers. arg. (This used to be commit 9fdd697d17b68293bb95fd68f44c24f0f5b97f5f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/byteorder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/byteorder.h b/source3/include/byteorder.h
index c0e38adc2b..808026f9db 100644
--- a/source3/include/byteorder.h
+++ b/source3/include/byteorder.h
@@ -202,14 +202,14 @@ it also defines lots of intermediate macros, just ignore those :-)
RW_PCVAL(read,inbuf,outbuf,len) \
DEBUG(5,("%s %04x %s: ", \
tab_depth(depth), PTR_DIFF(inbuf,base),string)); \
- { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%d ", (inbuf)[idx])); } } \
+ { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%d ", (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: ", \
tab_depth(depth), PTR_DIFF(inbuf,base),string)); \
- { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%d ", (inbuf)[idx])); } } \
+ { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%d ", (outbuf)[idx])); } } \
DEBUG(5,("\n"));
#define DBG_RW_CVAL(string,depth,base,read,inbuf,outbuf) \