mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
fix callback arg and CoreSession::sleep to not require a file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9004 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -606,7 +606,7 @@ static void load_mime_types(void)
|
||||
mime_path = switch_mprintf("%s/%s", SWITCH_GLOBAL_dirs.conf_dir, cf);
|
||||
switch_assert(mime_path);
|
||||
|
||||
fd = open(mime_path, O_RDONLY);
|
||||
fd = open(mime_path, O_RDONLY | O_BINARY);
|
||||
if (fd <= 0) {
|
||||
goto end;
|
||||
}
|
||||
|
Reference in New Issue
Block a user