Skip to content
Snippets Groups Projects
Commit 154d9ada authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 7523 via svnmerge from

/branches/1.2


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 9b166d33
No related branches found
No related tags found
No related merge requests found
......@@ -955,6 +955,8 @@ struct ast_filestream *ast_writefile(const char *filename, const char *type, con
fs->filename = strdup(filename);
}
fs->vfs = NULL;
/* If truncated, we'll be at the beginning; if not truncated, then append */
f->seek(fs, 0, SEEK_END);
} else {
ast_log(LOG_WARNING, "Unable to rewrite %s\n", fn);
close(fd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment