aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_record.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-28 03:28:03 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-28 03:28:03 +0000
commit3fac3364032704a173d078b2e58603805ae57bd7 (patch)
tree08f1f44779e9bf96189a502166e19837103d6a6a /apps/app_record.c
parent098bd84e629db6c2df49a97ad924061662984483 (diff)
Use '|' or ':' on app_record
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@708 f38db490-d61c-443f-a65b-d21fe96a405b
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 */
}