1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r1627: make sure we initialise write_time in the deprecated function cli_ctemp()

(This used to be commit 48b5b740f1)
This commit is contained in:
Andrew Tridgell 2004-08-03 04:15:05 +00:00 committed by Gerald (Jerry) Carter
parent ae81794cf8
commit f0ff2eccad

View File

@ -652,6 +652,7 @@ int cli_ctemp(struct cli_tree *tree, const char *path, char **tmp_path)
open_parms.openx.level = RAW_OPEN_CTEMP;
open_parms.ctemp.in.attrib = 0;
open_parms.ctemp.in.directory = path;
open_parms.ctemp.in.write_time = 0;
status = smb_raw_open(tree, mem_ctx, &open_parms);
if (tmp_path) {