summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-05-21 11:57:16 -0700
committerJeremy Allison <jra@samba.org>2014-05-23 20:16:12 +0200
commitf739480862373444e9cc8e3790dc052a7ecb271e (patch)
tree6846f39e305cbb5d1b35e86b92dd36e3e557ebb3 /source4
parentce010d00275bb73dea509213d50eb4062312bf55 (diff)
downloadsamba-f739480862373444e9cc8e3790dc052a7ecb271e.tar.gz
samba-f739480862373444e9cc8e3790dc052a7ecb271e.tar.xz
samba-f739480862373444e9cc8e3790dc052a7ecb271e.zip
s3: smb2: Move from using SBVAL to put NTTIMEs on the wire to put_long_date_timespec.
put_long_date_timespec() correctly calls round_timespec() on the time parameters, and is the correct function to use when writing *any* file-based NTTIME on the wire. Move from using NTTIME variables internally in the server to struct timespec variables, which is what all the other server code uses. Only map to NTTIME as the last step of marshalling the output data. The previous SMB2 create code missed the round_timespec() call before marshalling. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source4')
0 files changed, 0 insertions, 0 deletions