mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:libnet: Remove unnecessary cast
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
683dab1102
commit
4004ded906
@ -1357,7 +1357,7 @@ static NTSTATUS libnet_join_joindomain_rpc_unsecure(TALLOC_CTX *mem_ctx,
|
||||
len = strlen(r->in.machine_password);
|
||||
ok = convert_string_talloc(frame, CH_UNIX, CH_UTF16,
|
||||
r->in.machine_password, len,
|
||||
(void **)&new_trust_blob.data,
|
||||
&new_trust_blob.data,
|
||||
&new_trust_blob.length);
|
||||
if (!ok) {
|
||||
status = NT_STATUS_UNMAPPABLE_CHARACTER;
|
||||
|
Loading…
Reference in New Issue
Block a user