提交 9c929d1b authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6290 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1af7f81a
......@@ -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';
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论