summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
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
commit62707533f72f7a2438c8e5c918b4cb75470cd871 (patch)
tree5f16123b8bc168d972db923bbd228bdef0c2fe98 /source3/smbd/process.c
parentccf0ac0eba203ea8f90c875c43e4c338f6e5b999 (diff)
downloadsamba-62707533f72f7a2438c8e5c918b4cb75470cd871.tar.gz
samba-62707533f72f7a2438c8e5c918b4cb75470cd871.tar.bz2
samba-62707533f72f7a2438c8e5c918b4cb75470cd871.zip
debug output to /tmp.
(This used to be commit f9077e50cba5c7c3e6cf7739888120d8cc757c7c)
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 74ec3b64db..077a97ed64 100644
--- a/source3/smbd/process.c
+++ b/source3/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");