mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 17:22:21 +00:00
fix path bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6106 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
049d952d4e
commit
e545da153e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user