From: Michael Jerris Date: Fri, 8 Sep 2006 16:35:58 +0000 (+0000) Subject: make detecting if it's a soundfile more flexible on windows. X-Git-Tag: v1.0-beta1~2200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12d496bb759ef7bde3638592e480cc3a1ad36700;p=thirdparty%2Ffreeswitch.git 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 --- 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