]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make detecting if it's a soundfile more flexible on windows.
authorMichael Jerris <mike@jerris.com>
Fri, 8 Sep 2006 16:35:58 +0000 (16:35 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 8 Sep 2006 16:35:58 +0000 (16:35 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2577 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index acc2bcf1b877d7b7df7632c989f6be73e3d2e6df..c230649f8b2166f3dcbb11842ef2b930716c9fb6 100644 (file)
@@ -1019,7 +1019,7 @@ static switch_status_t conference_play_file(conference_obj_t *conference, char *
     }
 
 #ifdef WIN32
-       if (file[1] != ':') {
+       if (*(file +1) != ':' && *file != '/') {
 #else
        if (*file != '/') {
 #endif