1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

nicer formatting in getattre

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 04b60864a6
commit 52657c369b

View File

@ -419,12 +419,12 @@ static NTSTATUS smb_raw_getattrE_recv(struct cli_request *req,
}
CLI_CHECK_WCT(req, 11);
parms->getattre.out.create_time = make_unix_date2(req->in.vwv + VWV(0));
parms->getattre.out.access_time = make_unix_date2(req->in.vwv + VWV(2));
parms->getattre.out.write_time = make_unix_date2(req->in.vwv + VWV(4));
parms->getattre.out.size = IVAL(req->in.vwv, VWV(6));
parms->getattre.out.alloc_size = IVAL(req->in.vwv, VWV(8));
parms->getattre.out.attrib = SVAL(req->in.vwv, VWV(10));
parms->getattre.out.create_time = make_unix_date2(req->in.vwv + VWV(0));
parms->getattre.out.access_time = make_unix_date2(req->in.vwv + VWV(2));
parms->getattre.out.write_time = make_unix_date2(req->in.vwv + VWV(4));
parms->getattre.out.size = IVAL(req->in.vwv, VWV(6));
parms->getattre.out.alloc_size = IVAL(req->in.vwv, VWV(8));
parms->getattre.out.attrib = SVAL(req->in.vwv, VWV(10));
failed:
return cli_request_destroy(req);