s3:smbd: avoid using client_get_tcp_info()
commit7ca5e83cad61a246aee6e415d604a97aa8729739
authorStefan Metzmacher <metze@samba.org>
Fri, 23 May 2014 10:37:14 +0000 (23 12:37 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Jul 2014 17:07:06 +0000 (24 19:07 +0200)
treed34ce6e554f4160f1291c0a63a514e49e60bea31
parent017db6d0f893a4169627c4e182ab84f4a6adb533
s3:smbd: avoid using client_get_tcp_info()

We already have the required information as stack variable
in the current function. There's no need to call get[peer|sock]name()
twice.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/process.c