summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-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");