tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6290 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1af7f81a37
commit
9c929d1bee
|
@ -1018,7 +1018,10 @@ static int preprocess(const char *cwd, const char *file, int write_fd, int rleve
|
|||
}
|
||||
}
|
||||
|
||||
if ((tcmd = (char *)switch_stristr("<X-pre-process", bp))) {
|
||||
if ((tcmd = (char *)switch_stristr("X-pre-process", bp))) {
|
||||
if (*(tcmd-1) != '<') {
|
||||
continue;
|
||||
}
|
||||
if ((e = strstr(tcmd, "/>"))) {
|
||||
*e += 2;
|
||||
*e = '\0';
|
||||
|
|
Loading…
Reference in New Issue