git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d17e088
)
r2045: fixed a date format push in SMBsearch
author
Andrew Tridgell
<tridge@samba.org>
Wed, 25 Aug 2004 04:16:14 +0000
(
04:16
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:58:20 +0000
(12:58 -0500)
source/smb_server/search.c
patch
|
blob
|
history
diff --git
a/source/smb_server/search.c
b/source/smb_server/search.c
index 28aec1605e691d8369a4f6533ebac97e421289bd..26ad53fc80370cff3cf6c95da060668514c0728f 100644
(file)
--- a/
source/smb_server/search.c
+++ b/
source/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_date
3
(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);