git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fba9ba
)
libsmb: Use smbXcli_conn_use_unicode instead of smb1 specific test
author
Luk Claes
<luk@debian.org>
Fri, 17 May 2013 18:13:50 +0000
(20:13 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Jun 2013 12:45:58 +0000
(14:45 +0200)
Signed-off-by: Luk Claes <luk@debian.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index 95f8817a94b70765027f1340f5b0ee45f66aba85..41996feed128148b518014f4e15cc4d229020d6f 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-600,7
+600,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 (!(smb
1cli_conn_capabilities(cli->conn) & CAP_UNICODE
)) {
+ if (!(smb
Xcli_conn_use_unicode(cli->conn)
)) {
return false;
}
if (!(smb1cli_conn_capabilities(cli->conn) & CAP_STATUS32)) {