diff options
Diffstat (limited to 'source4/smb_server/request.c')
-rw-r--r-- | source4/smb_server/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/request.c b/source4/smb_server/request.c index e3f54bde65..645ea105a2 100644 --- a/source4/smb_server/request.c +++ b/source4/smb_server/request.c @@ -468,7 +468,7 @@ static size_t req_pull_ucs2(struct smbsrv_request *req, const char **dest, const src_len2 += 2; } - ret = convert_string_talloc(req->mem_ctx, CH_UCS2, CH_UNIX, src, src_len2, (const void **)dest); + ret = convert_string_talloc(req->mem_ctx, CH_UTF16, CH_UNIX, src, src_len2, (const void **)dest); if (ret == -1) { *dest = NULL; |