1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:libsmb: Plumb cli_smb2_set_ea_path() inside cli_set_ea_path().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Jeremy Allison 2013-08-07 16:21:48 -07:00 committed by Stefan Metzmacher
parent c1aeada4dd
commit 3276853e59

View File

@ -4320,7 +4320,17 @@ NTSTATUS cli_set_ea_path(struct cli_state *cli, const char *path,
unsigned int param_len = 0;
uint8_t *param;
NTSTATUS status;
TALLOC_CTX *frame = talloc_stackframe();
TALLOC_CTX *frame = NULL;
if (smbXcli_conn_protocol(cli->conn) >= PROTOCOL_SMB2_02) {
return cli_smb2_set_ea_path(cli,
path,
ea_name,
ea_val,
ea_len);
}
frame = talloc_stackframe();
param = talloc_array(frame, uint8_t, 6);
if (!param) {