[asterisk-commits] seanbright: branch 1.6.0 r114193 - in /branches/1.6.0: ./ apps/app_chanspy.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 17 05:56:43 CDT 2008
Author: seanbright
Date: Thu Apr 17 05:56:42 2008
New Revision: 114193
URL: http://svn.digium.com/view/asterisk?view=rev&rev=114193
Log:
Merged revisions 114192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r114192 | seanbright | 2008-04-17 06:55:05 -0400 (Thu, 17 Apr 2008) | 9 lines
Merged revisions 114191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r114191 | seanbright | 2008-04-17 06:51:20 -0400 (Thu, 17 Apr 2008) | 1 line
Make sure we have enough room for the recording's filename.
........
................
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/apps/app_chanspy.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_chanspy.c?view=diff&rev=114193&r1=114192&r2=114193
==============================================================================
--- branches/1.6.0/apps/app_chanspy.c (original)
+++ branches/1.6.0/apps/app_chanspy.c Thu Apr 17 05:56:42 2008
@@ -830,7 +830,7 @@
}
if (recbase) {
- char filename[512];
+ char filename[PATH_MAX];
snprintf(filename, sizeof(filename), "%s/%s.%d.raw", ast_config_AST_MONITOR_DIR, recbase, (int) time(NULL));
if ((fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, AST_FILE_MODE)) <= 0) {
@@ -909,7 +909,7 @@
}
if (recbase) {
- char filename[512];
+ char filename[PATH_MAX];
snprintf(filename, sizeof(filename), "%s/%s.%d.raw", ast_config_AST_MONITOR_DIR, recbase, (int) time(NULL));
if ((fd = open(filename, O_CREAT | O_WRONLY | O_TRUNC, AST_FILE_MODE)) <= 0) {
More information about the asterisk-commits
mailing list