summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-05 13:11:14 +0200
committerVolker Lendecke <vl@samba.org>2010-08-05 13:57:31 +0200
commit1cbe8b85ae155896e8a4ef39f4b129b2f1e6b1d8 (patch)
tree32611760291707d993ed564ecda2475f119bcb9c /source3/libsmb
parent6cb5a0d097e52577e956d3527b753c1bcf124d9d (diff)
downloadsamba-1cbe8b85ae155896e8a4ef39f4b129b2f1e6b1d8.tar.gz
samba-1cbe8b85ae155896e8a4ef39f4b129b2f1e6b1d8.tar.bz2
samba-1cbe8b85ae155896e8a4ef39f4b129b2f1e6b1d8.zip
s3: Remove some pointless wrapper functions
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clifile.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 28dcc0280a..2067b79c52 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -3441,9 +3441,12 @@ struct tevent_req *cli_setattrE_send(TALLOC_CTX *mem_ctx,
}
SSVAL(state->vwv+0, 0, fnum);
- cli_put_dos_date2(cli, (char *)&state->vwv[1], 0, change_time);
- cli_put_dos_date2(cli, (char *)&state->vwv[3], 0, access_time);
- cli_put_dos_date2(cli, (char *)&state->vwv[5], 0, write_time);
+ push_dos_date2((uint8_t *)&state->vwv[1], 0, change_time,
+ cli->serverzone);
+ push_dos_date2((uint8_t *)&state->vwv[3], 0, access_time,
+ cli->serverzone);
+ push_dos_date2((uint8_t *)&state->vwv[5], 0, write_time,
+ cli->serverzone);
subreq = cli_smb_send(state, ev, cli, SMBsetattrE, additional_flags,
7, state->vwv, 0, NULL);
@@ -3554,7 +3557,7 @@ struct tevent_req *cli_setatr_send(TALLOC_CTX *mem_ctx,
}
SSVAL(state->vwv+0, 0, attr);
- cli_put_dos_date3(cli, (char *)&state->vwv[1], 0, mtime);
+ push_dos_date3((uint8_t *)&state->vwv[1], 0, mtime, cli->serverzone);
bytes = talloc_array(state, uint8_t, 1);
if (tevent_req_nomem(bytes, req)) {