From f0ff2eccad1309f5a3e79686977b76c110c4ddb3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 3 Aug 2004 04:15:05 +0000 Subject: r1627: make sure we initialise write_time in the deprecated function cli_ctemp() (This used to be commit 48b5b740f1d0c252f248aa944d8487a83c016fa1) --- source4/libcli/clifile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/libcli') diff --git a/source4/libcli/clifile.c b/source4/libcli/clifile.c index 6f1c98555b..b3acb9136a 100644 --- a/source4/libcli/clifile.c +++ b/source4/libcli/clifile.c @@ -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) { -- cgit