libsmb: Simplify cli_resolve_path()
authorVolker Lendecke <vl@samba.org>
Wed, 14 Oct 2020 05:09:13 +0000 (07:09 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 21 Oct 2020 19:04:39 +0000 (19:04 +0000)
commitd845e90e0e30d6a0fcee320abf2e8dc49951acff
treea79008df564152ab468fe018ba76cfefb082de40
parentd93e0f0978685f4d2b133a470345888105ce29a5
libsmb: Simplify cli_resolve_path()

The additional conditions in cli_dfs_check_error() were covered
earlier in cli_resolve_path() via cli_conn_have_dfs(). Without those
it's more obvious to directly call NT_STATUS_EQUAL here.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clidfs.c