summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-25 04:16:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:20 -0500
commitcc7d62d3d14d30b678b8e6ffc038d1ed740ca9c5 (patch)
tree212bd14d543b411e46dc855775475916b3dd89af /source4
parentc595ec9936fdf8f087cdb6682cb53f47d4cb31a0 (diff)
downloadsamba-cc7d62d3d14d30b678b8e6ffc038d1ed740ca9c5.tar.gz
samba-cc7d62d3d14d30b678b8e6ffc038d1ed740ca9c5.tar.bz2
samba-cc7d62d3d14d30b678b8e6ffc038d1ed740ca9c5.zip
r2045: fixed a date format push in SMBsearch
(This used to be commit a6cc0bedad98e7b9bbc27d9f31c21d5eba77146f)
Diffstat (limited to 'source4')
-rw-r--r--source4/smb_server/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/search.c b/source4/smb_server/search.c
index 28aec1605e..26ad53fc80 100644
--- a/source4/smb_server/search.c
+++ b/source4/smb_server/search.c
@@ -78,7 +78,7 @@ static void find_fill_info(struct smbsrv_request *req,
p += req_append_bytes(req, file->search.search_id.data, 21);
p += req_append_bytes(req, (char*)&file->search.attrib, 1);
- srv_push_dos_date3(req->smb_conn, (uint8_t *)&dos_date, 0, file->search.write_time);
+ srv_push_dos_date(req->smb_conn, (uint8_t *)&dos_date, 0, file->search.write_time);
p += req_append_bytes(req, (char*)&dos_date, 4);
p += req_append_bytes(req, (char*)&file->search.size, 4);
memset(&search_name[0], ' ', 13);