diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-29 20:23:01 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-29 20:23:01 +0000 |
commit | 4b54d22d59d3f6719e7ce8bbbf3e40da31cd270e (patch) | |
tree | 6a2495ad773ce7f6a191b6cb5f059d1139600b7e | |
parent | c0137cd8fe1362beef9ce879cc558869bdf2edfa (diff) | |
download | samba-4b54d22d59d3f6719e7ce8bbbf3e40da31cd270e.tar.gz |
byteorder.h :
have another go at reporting stuff the right way round (on SPARCs)
srvparse.c :
copyright messages
-rw-r--r-- | source/include/byteorder.h | 6 | ||||
-rw-r--r-- | source/srvparse.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/source/include/byteorder.h b/source/include/byteorder.h index 823b75567b1..4d972a5cac2 100644 --- a/source/include/byteorder.h +++ b/source/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) \ diff --git a/source/srvparse.c b/source/srvparse.c index 8138285caf0..d65a529e329 100644 --- a/source/srvparse.c +++ b/source/srvparse.c @@ -2,7 +2,9 @@ Unix SMB/Netbios implementation. Version 1.9. Samba utility functions - Copyright (C) Luke Leighton 1996 - 1997 Paul Ashton 1997 + Copyright (C) Andrew Tridgell 1994 - 1997 + Copyright (C) Luke Kenneth Casson Leighton 1996 - 1997 + Copyright (C) Paul Ashton 1997 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by |