smbd: Simplify make_connection_snum()
commit4b3b283b1f3bf7192e9a9c849ed2d6006f96350a
authorVolker Lendecke <vl@samba.org>
Fri, 11 Oct 2024 11:29:33 +0000 (11 13:29 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 12:09:35 +0000 (12 12:09 +0000)
treefac6407bfe43e33d004e9f9b7027d6e211a0f962
parent47c8d9b62af9443b2f4e062820ad46fe5c2ff7df
smbd: Simplify make_connection_snum()

Avoid nested if's, don't check for ISDIR twice

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