mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s4:torture/raw/samba3misc - Add "discard_const_p" macro before a string
This commit is contained in:
parent
f1f1bdada6
commit
3caaf6a84c
@ -1007,7 +1007,7 @@ bool torture_samba3_oplock_logoff(struct torture_context *tctx)
|
||||
|
||||
echo_req.in.repeat_count = 1;
|
||||
echo_req.in.size = 1;
|
||||
echo_req.in.data = (uint8_t *)"";
|
||||
echo_req.in.data = discard_const_p(uint8_t, "");
|
||||
|
||||
status = smb_raw_echo(cli->session->transport, &echo_req);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user