diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-15 15:36:28 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-17 22:44:03 +0200 |
commit | 1f0afe1aed5cc267c3c24322992bfcb7c82847b1 (patch) | |
tree | 842e366abbc54f92f2304181c7b87f806b225fa7 /source3/smbd | |
parent | 7d164498dbad77e2072eaae9e421ee1c45336257 (diff) | |
download | samba-1f0afe1aed5cc267c3c24322992bfcb7c82847b1.tar.gz samba-1f0afe1aed5cc267c3c24322992bfcb7c82847b1.tar.bz2 samba-1f0afe1aed5cc267c3c24322992bfcb7c82847b1.zip |
s3: Lift smbd_server_fd() from read_smb_length_return_keepalive
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 8c781c8955..099585e7f9 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -367,7 +367,11 @@ static NTSTATUS receive_smb_raw_talloc(TALLOC_CTX *mem_ctx, int fd, status = read_smb_length_return_keepalive(fd, lenbuf, timeout, &len); if (!NT_STATUS_IS_OK(status)) { - DEBUG(10, ("receive_smb_raw: %s\n", nt_errstr(status))); + char addr[INET6_ADDRSTRLEN]; + DEBUG(0, ("read_smb_length_return_keepalive failed for " + "client %s read error = %s.\n", + get_peer_addr(fd, addr, sizeof(addr)), + nt_errstr(status))); return status; } |