git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9b613
)
s3:client: make use of cli_state_protocol()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 1 Aug 2011 15:01:42 +0000
(17:01 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 2 Aug 2011 02:54:29 +0000
(
04:54
+0200)
metze
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 44a151e78f196ce75d498afa2a4838bfe64392af..110614ecd22e870996e0ce0e3da56f8b9281289f 100644
(file)
--- a/
source3/client/client.c
+++ b/
source3/client/client.c
@@
-426,7
+426,7
@@
static int do_cd(const char *new_dir)
/* Use a trans2_qpathinfo to test directories for modern servers.
Except Win9x doesn't support the qpathinfo_basic() call..... */
- if (
targetcli->protocol
> PROTOCOL_LANMAN2 && !targetcli->win95) {
+ if (
cli_state_protocol(targetcli)
> PROTOCOL_LANMAN2 && !targetcli->win95) {
status = cli_qpathinfo_basic(targetcli, targetpath, &sbuf,
&attributes);