aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_mixmonitor.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-06 05:13:45 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-06 05:13:45 +0000
commit46273ba0f5f09f986ed094f212ae16b327dafa64 (patch)
treea4b6ad853b8722257977ff0cccf94898dbd48584 /apps/app_mixmonitor.c
parent6d95d3ed6a440a776bf1e41b050d757fd840b177 (diff)
Allow mixmon names to have dots (bug #5607)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6973 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_mixmonitor.c')
-rwxr-xr-xapps/app_mixmonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c
index cbd51db00..4391cfb18 100755
--- a/apps/app_mixmonitor.c
+++ b/apps/app_mixmonitor.c
@@ -159,7 +159,7 @@ static void *mixmonitor_thread(void *obj)
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";