From 62707533f72f7a2438c8e5c918b4cb75470cd871 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sun, 28 May 2000 20:11:04 +0000 Subject: debug output to /tmp. (This used to be commit f9077e50cba5c7c3e6cf7739888120d8cc757c7c) --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit