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:
parent
5816256ce3
commit
12d496bb75
|
@ -1019,7 +1019,7 @@ static switch_status_t conference_play_file(conference_obj_t *conference, char *
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (file[1] != ':') {
|
if (*(file +1) != ':' && *file != '/') {
|
||||||
#else
|
#else
|
||||||
if (*file != '/') {
|
if (*file != '/') {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue