summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {