[asterisk-commits] murf: branch murf/bug6334 r48290 -
/team/murf/bug6334/apps/app_sms.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Dec 5 23:04:10 MST 2006
Author: murf
Date: Wed Dec 6 00:04:09 2006
New Revision: 48290
URL: http://svn.digium.com/view/asterisk?view=rev&rev=48290
Log:
hit one more fixed mode in app_sms
Modified:
team/murf/bug6334/apps/app_sms.c
Modified: team/murf/bug6334/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug6334/apps/app_sms.c?view=diff&rev=48290&r1=48289&r2=48290
==============================================================================
--- team/murf/bug6334/apps/app_sms.c (original)
+++ team/murf/bug6334/apps/app_sms.c Wed Dec 6 00:04:09 2006
@@ -635,7 +635,7 @@
static void sms_log (sms_t * h, char status)
{
if (*h->oa || *h->da) {
- int o = open (log_file, O_CREAT | O_APPEND | O_WRONLY, 0666);
+ int o = open (log_file, O_CREAT | O_APPEND | O_WRONLY, AST_FILE_MODE);
if (o >= 0) {
char line[1000], mrs[3] = "", *p;
unsigned char n;
More information about the asterisk-commits
mailing list