summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-29 20:23:01 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-29 20:23:01 +0000
commit21fda98dc9412eaff34c54762f3c56fa3e099458 (patch)
tree44fef65748599ed7950aa4a4ae6cf5faa517fbd1 /source3/include
parent1337b6170376ea690994e18ebb67137d6ab001e8 (diff)
downloadsamba-21fda98dc9412eaff34c54762f3c56fa3e099458.tar.gz
samba-21fda98dc9412eaff34c54762f3c56fa3e099458.tar.bz2
samba-21fda98dc9412eaff34c54762f3c56fa3e099458.zip
byteorder.h :
have another go at reporting stuff the right way round (on SPARCs) srvparse.c : copyright messages (This used to be commit 4b54d22d59d3f6719e7ce8bbbf3e40da31cd270e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/byteorder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/byteorder.h b/source3/include/byteorder.h
index 823b75567b..4d972a5cac 100644
--- a/source3/include/byteorder.h
+++ b/source3/include/byteorder.h
@@ -207,7 +207,7 @@ it also defines lots of intermediate macros, just ignore those :-)
DEBUG(5,("%s%04x %s: ", \
tab_depth(depth), PTR_DIFF(inbuf,base),string)); \
if (charmode) print_asc(5, (unsigned char*)(outbuf), (len)); else \
- { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%02x ", CVAL(&((outbuf)[idx]), 0))); } } \
+ { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%02x ", (outbuf)[idx])); } } \
DEBUG(5,("\n"));
#define DBG_RW_PSVAL(charmode,string,depth,base,read,inbuf,outbuf,len) \
@@ -215,7 +215,7 @@ it also defines lots of intermediate macros, just ignore those :-)
DEBUG(5,("%s%04x %s: ", \
tab_depth(depth), PTR_DIFF(inbuf,base),string)); \
if (charmode) print_asc(5, (unsigned char*)(outbuf), 2*(len)); else \
- { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%04x ", SVAL(&((outbuf)[idx]), 0))); } } \
+ { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%04x ", (outbuf)[idx])); } } \
DEBUG(5,("\n"));
#define DBG_RW_PIVAL(charmode,string,depth,base,read,inbuf,outbuf,len) \
@@ -223,7 +223,7 @@ it also defines lots of intermediate macros, just ignore those :-)
DEBUG(5,("%s%04x %s: ", \
tab_depth(depth), PTR_DIFF(inbuf,base),string)); \
if (charmode) print_asc(5, (unsigned char*)(outbuf), 4*(len)); else \
- { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%08x ", IVAL(&((outbuf)[idx]), 0))); } } \
+ { int idx; for (idx = 0; idx < len; idx++) { DEBUG(5,("%08x ", (outbuf)[idx])); } } \
DEBUG(5,("\n"));
#define DBG_RW_CVAL(string,depth,base,read,inbuf,outbuf) \