diff options
author | Michael Adam <obnox@samba.org> | 2014-09-18 21:25:44 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-09-19 09:15:11 +0200 |
commit | 9fe66659684cd730ef39a9bb399be29a0f02e215 (patch) | |
tree | 010d7bfaf5254d00b4b3bcf46c7fb366cc3ca63a | |
parent | 93f7e6251b854c93a4fa9cb133217b7780309c55 (diff) | |
download | samba-9fe66659684cd730ef39a9bb399be29a0f02e215.tar.gz samba-9fe66659684cd730ef39a9bb399be29a0f02e215.tar.xz samba-9fe66659684cd730ef39a9bb399be29a0f02e215.zip |
s3:smbd: use smbXsrv_connection_dbg() in receive_smb_talloc()
instead of manually assembling the address string
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/smbd/process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index cd86b9667f..fda0982532 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -553,8 +553,7 @@ static NTSTATUS receive_smb_talloc(TALLOC_CTX *mem_ctx, DEBUG(NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE)?5:1, ("receive_smb_raw_talloc failed for client %s " "read error = %s.\n", - tsocket_address_string(sconn->remote_address, - talloc_tos()), + smbXsrv_connection_dbg(xconn), nt_errstr(status)) ); return status; } |