s3:smbd: use smbXsrv_connection_dbg() in receive_smb_talloc()
authorMichael Adam <obnox@samba.org>
Thu, 18 Sep 2014 19:25:44 +0000 (21:25 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 19 Sep 2014 07:15:11 +0000 (09:15 +0200)
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>
source3/smbd/process.c

index cd86b9667f232849c7d3269b67efebef92ca6761..fda098253239580c6685518d0d28aa534504e216 100644 (file)
@@ -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;
        }