switch_xml_t cfg, xml, settings, param;
switch_status_t status = SWITCH_STATUS_SUCCESS;
- /* test global state handlers */
- switch_core_add_state_handler(&state_handlers);
-
- *module_interface = switch_loadable_module_create_module_interface(pool, modname);
-
memset(&globals, 0, sizeof(globals));
globals.log_http_and_disk = 0;
return SWITCH_STATUS_GENERR;
}
+ /* test global state handlers */
+ switch_core_add_state_handler(&state_handlers);
+
+ *module_interface = switch_loadable_module_create_module_interface(pool, modname);
+
switch_xml_free(xml);
return status;
}