diff options
author | Luke Leighton <lkcl@samba.org> | 2000-05-28 20:11:04 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-05-28 20:11:04 +0000 |
commit | f9077e50cba5c7c3e6cf7739888120d8cc757c7c (patch) | |
tree | e20f13698c003339aefa0951b47f1fa9bb643f85 | |
parent | d8d15b275592e3a4e60ac502f4672672534e1fc7 (diff) | |
download | samba-f9077e50cba5c7c3e6cf7739888120d8cc757c7c.tar.gz samba-f9077e50cba5c7c3e6cf7739888120d8cc757c7c.tar.xz samba-f9077e50cba5c7c3e6cf7739888120d8cc757c7c.zip |
debug output to /tmp.
-rw-r--r-- | source/smbd/process.c | 2 |
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"); |