summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-03 04:15:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:44 -0500
commitf0ff2eccad1309f5a3e79686977b76c110c4ddb3 (patch)
tree2f5df2004a4b25cb5dcda99cc2359d5ac32f83fb
parentae81794cf8de793bd18aae98777a6dc648ef3432 (diff)
downloadsamba-f0ff2eccad1309f5a3e79686977b76c110c4ddb3.tar.gz
samba-f0ff2eccad1309f5a3e79686977b76c110c4ddb3.tar.bz2
samba-f0ff2eccad1309f5a3e79686977b76c110c4ddb3.zip
r1627: make sure we initialise write_time in the deprecated function cli_ctemp()
(This used to be commit 48b5b740f1d0c252f248aa944d8487a83c016fa1)
-rw-r--r--source4/libcli/clifile.c1
1 files changed, 1 insertions, 0 deletions
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) {