From 9fe66659684cd730ef39a9bb399be29a0f02e215 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 18 Sep 2014 21:25:44 +0200 Subject: s3:smbd: use smbXsrv_connection_dbg() in receive_smb_talloc() instead of manually assembling the address string Pair-Programmed-With: Stefan Metzmacher Signed-off-by: Michael Adam Signed-off-by: Stefan Metzmacher --- source3/smbd/process.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit