1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

debug output to /tmp.

This commit is contained in:
Luke Leighton -
parent d8d15b2755
commit f9077e50cb

View File

@ -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");