diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clidfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 97458e5d47..d729649286 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -1032,12 +1032,13 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx, uint16 cnum; char *newextrapath = NULL; NTSTATUS status; - const char *remote_name = cli_state_remote_name(cli); + const char *remote_name; if (!cli || !sharename) { return false; } + remote_name = cli_state_remote_name(cli); cnum = cli_state_get_tid(cli); /* special case. never check for a referral on the IPC$ share */ |