projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
239f1a0
)
Fix Record with "." in filename (bug #2923)
author
Mark Spencer
<markster@digium.com>
Tue, 23 Nov 2004 02:35:46 +0000
(
02:35
+0000)
committer
Mark Spencer
<markster@digium.com>
Tue, 23 Nov 2004 02:35:46 +0000
(
02:35
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4321
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_record.c
patch
|
blob
|
history
diff --git
a/apps/app_record.c
b/apps/app_record.c
index
389f14d
..
1a3a620
100755
(executable)
--- 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) {