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
This commit is contained in:
Michael Jerris 2006-09-08 16:35:58 +00:00
parent 5816256ce3
commit 12d496bb75
1 changed files with 1 additions and 1 deletions

View 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