summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 5f95487d3f..f124821e62 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -665,7 +665,7 @@ bool cli_dfs_get_referral(TALLOC_CTX *ctx,
goto out;
}
clistr_pull_talloc(ctx, cli, &referrals[i].dfspath,
- p+node_offset,
+ p+node_offset, -1,
STR_TERMINATE|STR_UNICODE );
if (!referrals[i].dfspath) {