code before decl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15796 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-12-04 21:25:57 +00:00
parent d1be73ed83
commit 8faff0e076
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -512,9 +512,10 @@ static switch_status_t do_config(void)
SWITCH_MODULE_LOAD_FUNCTION(mod_yaml_load)
{
switch_dialplan_interface_t *dp_interface;
/* connect my internal structure to the blank pointer passed to me */
*module_interface = switch_loadable_module_create_module_interface(pool, modname);
switch_dialplan_interface_t *dp_interface;
if (do_config() != SWITCH_STATUS_SUCCESS) {
return SWITCH_STATUS_TERM;