Split out the client unix capabilities to those the server offered, and those the...
[obnox/samba/samba-obnox.git] / source3 / client / client.c
index 7dc412fe3a92dcf8077559a6425b903537674d02..13617155c7f2aa803fc2303479e4c8e5d0a03d1d 100644 (file)
@@ -332,7 +332,7 @@ static int cmd_pwd(void)
 
 static void normalize_name(char *newdir)
 {
-       if (!(cli->posix_capabilities & CIFS_UNIX_POSIX_PATHNAMES_CAP)) {
+       if (!(cli->requested_posix_capabilities & CIFS_UNIX_POSIX_PATHNAMES_CAP)) {
                string_replace(newdir,'/','\\');
        }
 }