]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use '|' or ':' on app_record
authorMark Spencer <markster@digium.com>
Fri, 28 Mar 2003 03:28:03 +0000 (03:28 +0000)
committerMark Spencer <markster@digium.com>
Fri, 28 Mar 2003 03:28:03 +0000 (03:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@708 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_record.c

index 1e54276b8bae79c9c166379c6ec0983229552193..7382a23610073e5f128660c20255cd81877918fa 100755 (executable)
@@ -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 */
                }