]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix path bs
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 31 Oct 2007 20:03:30 +0000 (20:03 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 31 Oct 2007 20:03:30 +0000 (20:03 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6106 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_play_say.c

index f90ee6cd588fd0b7674f1b673185f75ce6612f74..639ea65d146dd5701338937fe9fc7b8dad8a6859 100644 (file)
@@ -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;