smbd: Simplify fsp_fullbasepath()
authorVolker Lendecke <vl@samba.org>
Sun, 29 Oct 2023 11:10:08 +0000 (12:10 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 7 Nov 2023 12:46:37 +0000 (12:46 +0000)
commit193df617816127a75bc4a29b46d3ada920c52f76
tree2641b307244c086b697fa036edd008719137ceae
parent8392a832b5921b02bfb7e1b5fd321d36069f044a
smbd: Simplify fsp_fullbasepath()

Don't call snprintf() if not necessary.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/files.c