mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
patches from Urban
This commit is contained in:
parent
3692919aee
commit
850b185a6e
@ -335,6 +335,8 @@ smb_ucs2_t *strchr_w(const smb_ucs2_t *s, smb_ucs2_t c)
|
||||
if (c == *s) return (smb_ucs2_t *)s;
|
||||
s++;
|
||||
}
|
||||
if (c == *s) return (smb_ucs2_t *)s;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -124,6 +124,9 @@ static uint32 cli_session_setup_capabilities(struct cli_state *cli)
|
||||
if (cli->capabilities & CAP_UNICODE)
|
||||
capabilities |= CAP_UNICODE;
|
||||
|
||||
if (cli->capabilities & CAP_LARGE_FILES)
|
||||
capabilities |= CAP_LARGE_FILES;
|
||||
|
||||
return capabilities;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user