Yes, the formatting is not according to README.Coding, but that's a
patch for another day.
Also, this is no functional change: All callers so far either set
.tv_sec only or set .tv_nsec to SAMBA_UTIME_OMIT.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
* attributes manipulated.
*/
if (srv->no_pathinfo ||
- !NT_STATUS_IS_OK(cli_setpathinfo_basic(srv->cli, path,
- create_time.tv_sec,
- access_time.tv_sec,
- write_time.tv_sec,
- change_time.tv_sec,
- mode))) {
+ !NT_STATUS_IS_OK(cli_setpathinfo_ext(srv->cli, path,
+ create_time,
+ access_time,
+ write_time,
+ change_time,
+ mode))) {
/*
* setpathinfo is not supported; go to plan B.