diff options
author | Ralph Boehme <slow@samba.org> | 2019-11-30 21:29:07 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-12-06 00:17:36 +0000 |
commit | 572d4e3a56eef00e29f93482daa21647af7310d0 (patch) | |
tree | 388fef7e2d8d2761fa62a8512de3ac66fc8932a3 /source3/smbd/negprot.c | |
parent | b1a3445e3dbd9c08bc733377f7c3b95a9e8d2755 (diff) | |
download | samba-572d4e3a56eef00e29f93482daa21647af7310d0.tar.gz |
smbd: use put_long_date_full_timespec()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=7771
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r-- | source3/smbd/negprot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index e77c8f52261..67ef60da852 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -371,7 +371,7 @@ static NTSTATUS reply_nt1(struct smb_request *req, uint16_t choice) SIVAL(req->outbuf,smb_vwv7+1, getpid()); /* session key */ SIVAL(req->outbuf,smb_vwv9+1, capabilities); /* capabilities */ clock_gettime(CLOCK_REALTIME,&ts); - put_long_date_timespec(TIMESTAMP_SET_NT_OR_BETTER,(char *)req->outbuf+smb_vwv11+1,ts); + put_long_date_full_timespec(TIMESTAMP_SET_NT_OR_BETTER,(char *)req->outbuf+smb_vwv11+1,&ts); SSVALS(req->outbuf,smb_vwv15+1,set_server_zone_offset(ts.tv_sec)/60); if (!negotiate_spnego) { |