[Asterisk-cvs] asterisk/apps app_record.c,1.27,1.28
markster at lists.digium.com
markster at lists.digium.com
Mon Nov 22 21:36:03 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv5893/apps
Modified Files:
app_record.c
Log Message:
Fix Record with "." in filename (bug #2923)
Index: app_record.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_record.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- app_record.c 17 Nov 2004 03:34:56 -0000 1.27
+++ app_record.c 23 Nov 2004 02:35:46 -0000 1.28
@@ -102,7 +102,7 @@
if (filename) {
if (strstr(filename, "%d"))
percentflag = 1;
- ext = strchr(filename, '.');
+ ext = strrchr(filename, '.'); /* to support filename with a . in the filename, not format */
if (!ext)
ext = strchr(filename, ':');
if (ext) {
More information about the svn-commits
mailing list