summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clidfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index c5cf75783b..03cfd4dd40 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -585,11 +585,11 @@ BOOL cli_resolve_path( const char *mountpt, struct cli_state *rootcli, const cha
SMB_STRUCT_STAT sbuf;
uint32 attributes;
- *targetcli = NULL;
-
if ( !rootcli || !path || !targetcli )
return False;
+ *targetcli = NULL;
+
/* send a trans2_query_path_info to check for a referral */
clean_path( cleanpath, path );