adding more fun stuff

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8975 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West committed 2008-07-10 00:55:18 +00:00
1 parent 72678abd23
commit 67b70d33af
3 files changed
+85 -5

No files matched your search

+1 -2
View File
@@ -742,7 +742,6 @@ static void do_load(void)
globals.timeout = 10;
load_config();
switch_mutex_unlock(MUTEX);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "ENUM Reloaded\n");
}
@@ -811,11 +810,11 @@ SWITCH_STANDARD_API(enum_function)
return SWITCH_STATUS_SUCCESS;
}
static void event_handler(switch_event_t *event)
{
if (globals.auto_reload) {
do_load();
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "ENUM Reloaded\n");
}
}