From: Anthony Minessale Date: Wed, 31 Oct 2007 20:03:30 +0000 (+0000) Subject: fix path bs X-Git-Tag: v1.0-beta2~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e545da153e6fcfffe06d396b21a7c307a6986e63;p=thirdparty%2Ffreeswitch.git fix path bs git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6106 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index f90ee6cd58..639ea65d14 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -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 (prefix && *file != '/' && *file != '\\' && *(file + 1) != ':') { + if (switch_is_file_path(file)) { char *new_file; uint32_t len; len = (uint32_t) strlen(file) + (uint32_t) strlen(prefix) + 10;