summaryrefslogtreecommitdiff
path: root/apps/app_record.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-03-28 03:28:03 +0000
committerMark Spencer <markster@digium.com>2003-03-28 03:28:03 +0000
commit0f0bc1fdb22a63148ebf859098b12e0a63d2d5f2 (patch)
tree08f1f44779e9bf96189a502166e19837103d6a6a /apps/app_record.c
parent65761373bda169655e3e77db63327a01de08911c (diff)
Use '|' or ':' on app_record
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_record.c')
-rwxr-xr-xapps/app_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c
index 1e54276b8..7382a2361 100755
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -63,7 +63,7 @@ static int record_exec(struct ast_channel *chan, void *data)
return -1;
}
- for (; vdata[i] && (vdata[i] != ':') ; i++ ) {
+ for (; vdata[i] && (vdata[i] != ':') && (vdata[i] != '|'); i++ ) {
if ((vdata[i] == '%') && (vdata[i+1] == 'd')) {
percentflag = 1; /* the wildcard is used */
}