aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rwxr-xr-xfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 4f684ae8c..0c30afdce 100755
--- a/file.c
+++ b/file.c
@@ -720,7 +720,7 @@ struct ast_filestream *ast_writefile(char *filename, char *type, char *comment,
}
myflags = 0;
/* set the O_TRUNC flag if and only if there is no O_APPEND specified */
- //if (!(flags & O_APPEND)) myflags = O_TRUNC;
+ if (!(flags & O_APPEND)) myflags = O_TRUNC;
f = formats;
while(f) {
if (!strcasecmp(f->name, type)) {