From 12d496bb759ef7bde3638592e480cc3a1ad36700 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 8 Sep 2006 16:35:58 +0000 Subject: [PATCH] make detecting if it's a soundfile more flexible on windows. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2577 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index acc2bcf1b8..c230649f8b 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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