1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

patches from Urban

This commit is contained in:
Gerald Carter -
parent 3692919aee
commit 850b185a6e
2 changed files with 5 additions and 0 deletions

View File

@ -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; if (c == *s) return (smb_ucs2_t *)s;
s++; s++;
} }
if (c == *s) return (smb_ucs2_t *)s;
return NULL; return NULL;
} }

View File

@ -124,6 +124,9 @@ static uint32 cli_session_setup_capabilities(struct cli_state *cli)
if (cli->capabilities & CAP_UNICODE) if (cli->capabilities & CAP_UNICODE)
capabilities |= CAP_UNICODE; capabilities |= CAP_UNICODE;
if (cli->capabilities & CAP_LARGE_FILES)
capabilities |= CAP_LARGE_FILES;
return capabilities; return capabilities;
} }