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:
parent
04b60864a6
commit
52657c369b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user