提交 e545da15 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix path bs

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6106 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 049d952d
...@@ -675,7 +675,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess ...@@ -675,7 +675,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
} }
if (!strstr(file, SWITCH_URL_SEPARATOR)) { if (!strstr(file, SWITCH_URL_SEPARATOR)) {
if (prefix && *file != '/' && *file != '\\' && *(file + 1) != ':') { if (switch_is_file_path(file)) {
char *new_file; char *new_file;
uint32_t len; uint32_t len;
len = (uint32_t) strlen(file) + (uint32_t) strlen(prefix) + 10; len = (uint32_t) strlen(file) + (uint32_t) strlen(prefix) + 10;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论