aboutsummaryrefslogtreecommitdiff
path: root/src/htbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htbt.c')
-rw-r--r--src/htbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htbt.c b/src/htbt.c
index 1389c5f..ff42108 100644
--- a/src/htbt.c
+++ b/src/htbt.c
@@ -1638,7 +1638,7 @@ static bool htbt_slv_srv_bin (
errno = 0;
fd = ctx->cbset->tmpfile(
ctx->cb_ctx,
- O_CREAT | O_TRUNC | O_WRONLY,
+ O_CREAT | O_TRUNC | O_WRONLY | O_EXCL,
0700,
bin_meta.alloc_len,
&path);