[Asterisk-cvs] asterisk/apps app_mixmonitor.c,1.12,1.13

markster markster
Sun Nov 6 00:22:28 CST 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv20095/apps

Modified Files:
	app_mixmonitor.c 
Log Message:
Allow mixmon names to have dots (bug #5607)


Index: app_mixmonitor.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_mixmonitor.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- app_mixmonitor.c	6 Nov 2005 04:51:00 -0000	1.12
+++ app_mixmonitor.c	6 Nov 2005 05:13:45 -0000	1.13
@@ -159,7 +159,7 @@
 	oflags = O_CREAT|O_WRONLY;
 	oflags |= ast_test_flag(mixmonitor, MUXFLAG_APPEND) ? O_APPEND : O_TRUNC;
 		
-	if ((ext = strchr(mixmonitor->filename, '.'))) {
+	if ((ext = strrchr(mixmonitor->filename, '.'))) {
 		*(ext++) = '\0';
 	} else {
 		ext = "raw";




More information about the svn-commits mailing list