summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 697b4e9569..47a45b8a53 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -291,7 +291,7 @@ static int do_cd(char *newdir)
/* 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 ( targetcli->protocol > PROTOCOL_LANMAN2 && !targetcli->win95 ) {
if ( !cli_qpathinfo_basic( targetcli, targetpath, &sbuf, &attributes ) ) {
d_printf("cd %s: %s\n", dname, cli_errstr(targetcli));
pstrcpy(cur_dir,saved_dir);