summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-05-28 20:11:04 +0000
committerLuke Leighton <lkcl@samba.org>2000-05-28 20:11:04 +0000
commitf9077e50cba5c7c3e6cf7739888120d8cc757c7c (patch)
treee20f13698c003339aefa0951b47f1fa9bb643f85
parentd8d15b275592e3a4e60ac502f4672672534e1fc7 (diff)
downloadsamba-f9077e50cba5c7c3e6cf7739888120d8cc757c7c.tar.gz
samba-f9077e50cba5c7c3e6cf7739888120d8cc757c7c.tar.xz
samba-f9077e50cba5c7c3e6cf7739888120d8cc757c7c.zip
debug output to /tmp.
-rw-r--r--source/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/process.c b/source/smbd/process.c
index 74ec3b64db3..077a97ed640 100644
--- a/source/smbd/process.c
+++ b/source/smbd/process.c
@@ -417,7 +417,7 @@ static void smb_dump(char *name, int type, char *data, ssize_t len)
pstring fname;
if (DEBUGLEVEL < 50) return;
- if (len < 4) len = smb_buflen(data);
+ if (len < 4) len = smb_len(data)+4;
for (i=1;i<100;i++) {
slprintf(fname,sizeof(fname), "/tmp/%s.%d.%s", name, i,
type ? "req" : "resp");