diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-23 02:35:46 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-11-23 02:35:46 +0000 |
commit | 0e35bc0c79470abe0959711061c2f788036ea836 (patch) | |
tree | dc306bb7bb2e51819d106c8c4065902b7776ba1c /apps/app_record.c | |
parent | e949fc2e392151469c331088419a0145ca13f16f (diff) |
Fix Record with "." in filename (bug #2923)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4321 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_record.c')
-rwxr-xr-x | apps/app_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c index 389f14d35..1a3a620aa 100755 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -102,7 +102,7 @@ static int record_exec(struct ast_channel *chan, void *data) 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) { |