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";

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to