summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-11-11 15:58:34 +0100
committerVolker Lendecke <vlendec@samba.org>2010-11-11 16:59:27 +0000
commite7970c02f345a4a5d63ab43c120277de70624c19 (patch)
treec340b3c5d008dc318f8d8c33300c79a75652f89a /source3/libsmb
parentddd33f035199bce2fc9d8deb3c2c4ad627ad36d4 (diff)
downloadsamba-e7970c02f345a4a5d63ab43c120277de70624c19.tar.gz
samba-e7970c02f345a4a5d63ab43c120277de70624c19.tar.bz2
samba-e7970c02f345a4a5d63ab43c120277de70624c19.zip
s3: Make cli_set_ea_fnum return NTSTATUS
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clifile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 23f9567f85..20babbd782 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -4151,18 +4151,18 @@ NTSTATUS cli_set_ea_path(struct cli_state *cli, const char *path,
Set an extended attribute on an fnum.
*********************************************************/
-bool cli_set_ea_fnum(struct cli_state *cli, uint16_t fnum, const char *ea_name, const char *ea_val, size_t ea_len)
+NTSTATUS cli_set_ea_fnum(struct cli_state *cli, uint16_t fnum,
+ const char *ea_name, const char *ea_val,
+ size_t ea_len)
{
uint8_t param[6];
- NTSTATUS status;
memset(param, 0, 6);
SSVAL(param,0,fnum);
SSVAL(param,2,SMB_INFO_SET_EA);
- status = cli_set_ea(cli, TRANSACT2_SETFILEINFO, param, 6,
- ea_name, ea_val, ea_len);
- return NT_STATUS_IS_OK(status);
+ return cli_set_ea(cli, TRANSACT2_SETFILEINFO, param, 6,
+ ea_name, ea_val, ea_len);
}
/*********************************************************