diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-22 22:46:29 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-22 22:46:29 +1000 |
commit | d5def936fe67c1cde2c4ed00834c4ce325dfcb55 (patch) | |
tree | 81aa9c5d08d6da0e877fea4bbd03cd341eba82c6 /source4/libcli/raw/rawfile.c | |
parent | a6e5c70da75e62c84eff0911c279c6a9b0b00b45 (diff) | |
download | samba-d5def936fe67c1cde2c4ed00834c4ce325dfcb55.tar.gz samba-d5def936fe67c1cde2c4ed00834c4ce325dfcb55.tar.bz2 samba-d5def936fe67c1cde2c4ed00834c4ce325dfcb55.zip |
pass in the required alignment to the EA construction routines
(This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
Diffstat (limited to 'source4/libcli/raw/rawfile.c')
-rw-r--r-- | source4/libcli/raw/rawfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c index 3c5c1b742b..d39c61551b 100644 --- a/source4/libcli/raw/rawfile.c +++ b/source4/libcli/raw/rawfile.c @@ -314,14 +314,14 @@ static struct smbcli_request *smb_raw_nttrans_create_send(struct smbcli_tree *tr if (parms->ntcreatex.in.ea_list) { uint32_t ea_size = ea_list_size_chained(parms->ntcreatex.in.ea_list->num_eas, - parms->ntcreatex.in.ea_list->eas); + parms->ntcreatex.in.ea_list->eas, 4); ea_blob = data_blob_talloc(mem_ctx, NULL, ea_size); if (ea_blob.data == NULL) { return NULL; } ea_put_list_chained(ea_blob.data, parms->ntcreatex.in.ea_list->num_eas, - parms->ntcreatex.in.ea_list->eas); + parms->ntcreatex.in.ea_list->eas, 4); } nt.in.params = data_blob_talloc(mem_ctx, NULL, 53); |