mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +00:00
add prototype for local_stream test it and let me know what you think
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5461 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ed0076eb18
commit
f4c1039a16
9 files changed
+639
-10
No files matched your search
@@ -194,12 +194,13 @@ switch_status_t mod_mono_load_modules(const char *module_dir)
|
||||
iter = NULL;
|
||||
mono_plugin *plugin = NULL;
|
||||
const char *fname = NULL;
|
||||
char buf[512] = "";
|
||||
|
||||
if (switch_dir_open(&module_dir_handle, module_dir, mono_pool) != SWITCH_STATUS_SUCCESS)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Could not open directory: %s\n", module_dir);
|
||||
|
||||
/* Read the modules directory */
|
||||
while ((fname = switch_dir_next_file(module_dir_handle))) {
|
||||
while ((fname = switch_dir_next_file(module_dir_handle, buf, sizeof(buf)))) {
|
||||
assembly = (MonoAssembly *) switch_core_alloc(mono_pool, sizeof(assembly));
|
||||
image = (MonoImage *) switch_core_alloc(mono_pool, sizeof(image));
|
||||
|
||||
|
||||
Reference in new issue
Block a user