mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
fixed some places where we don't brace (flags & STR_UNICODE)
this fixes the samba4 server with ascii clients
(This used to be commit c770603ac6
)
This commit is contained in:
@ -754,7 +754,7 @@ size_t cli_req_pull_string(struct cli_request *req, TALLOC_CTX *mem_ctx,
|
||||
char **dest, const char *src, int byte_len, unsigned flags)
|
||||
{
|
||||
if (!(flags & STR_ASCII) &&
|
||||
((flags & STR_UNICODE || (req->flags2 & FLAGS2_UNICODE_STRINGS)))) {
|
||||
(((flags & STR_UNICODE) || (req->flags2 & FLAGS2_UNICODE_STRINGS)))) {
|
||||
return cli_req_pull_ucs2(req, mem_ctx, dest, src, byte_len, flags);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user