diff options
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r-- | source3/libsmb/clidfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index a0d503a802..d677f9e0ac 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -1031,7 +1031,7 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx, return false; } - cnum = cli->cnum; + cnum = cli_state_get_tid(cli); /* special case. never check for a referral on the IPC$ share */ @@ -1072,7 +1072,7 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx, return false; } - cli->cnum = cnum; + cli_state_set_tid(cli, cnum); if (!res || !num_refs) { return false; |