[asterisk-commits] qwell: branch group/ast_storage r79440 - /team/group/ast_storage/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 14 12:45:29 CDT 2007
Author: qwell
Date: Tue Aug 14 12:45:28 2007
New Revision: 79440
URL: http://svn.digium.com/view/asterisk?view=rev&rev=79440
Log:
Let's actually use the right syntax here, hmm?
Modified:
team/group/ast_storage/res/res_storage_file.c
Modified: team/group/ast_storage/res/res_storage_file.c
URL: http://svn.digium.com/view/asterisk/team/group/ast_storage/res/res_storage_file.c?view=diff&rev=79440&r1=79439&r2=79440
==============================================================================
--- team/group/ast_storage/res/res_storage_file.c (original)
+++ team/group/ast_storage/res/res_storage_file.c Tue Aug 14 12:45:28 2007
@@ -135,7 +135,7 @@
static int se_open_file(struct ast_storage *st, struct ast_storage_fileinst *fi, int mode)
{
- fi->ent->fd = open(fi->ent->name, mode);
+ fi->ent->fd = open(fi->ent->name, O_RDWR | O_CREAT, mode);
return fi->ent->fd;
}
More information about the asterisk-commits
mailing list