summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2013-05-17 20:13:50 +0200
committerMichael Adam <obnox@samba.org>2013-10-17 15:54:12 +0200
commitd9d5744bc3dd7e18ac6dc23917d903d5e991ab8d (patch)
tree89a042d6e908921213b9fd9cbb915dfaa0ccb1a1 /source3/libsmb/clidfs.c
parent556f66bd56415d83be936e28d41946c39e379914 (diff)
downloadsamba-d9d5744bc3dd7e18ac6dc23917d903d5e991ab8d.tar.gz
samba-d9d5744bc3dd7e18ac6dc23917d903d5e991ab8d.tar.bz2
samba-d9d5744bc3dd7e18ac6dc23917d903d5e991ab8d.zip
s3/libsmb: Use smbXcli_conn_use_unicode instead of smb1 specific test
Signed-off-by: Luk Claes <luk@debian.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb/clidfs.c')
-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 57126e6233..e311adab27 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -622,7 +622,7 @@ static bool cli_dfs_check_error(struct cli_state *cli, NTSTATUS expected,
{
/* only deal with DS when we negotiated NT_STATUS codes and UNICODE */
- if (!(smb1cli_conn_capabilities(cli->conn) & CAP_UNICODE)) {
+ if (!(smbXcli_conn_use_unicode(cli->conn))) {
return false;
}
if (!(smb1cli_conn_capabilities(cli->conn) & CAP_STATUS32)) {