aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-07 22:52:46 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-07 22:52:46 +0000
commitc3dc79c9e3a32b51fc49b55442908ad2e44c2636 (patch)
tree823d1c53602d60bfec9cc356d7fc6cd0044020b7 /apps/app_meetme.c
parentcacdbb63af1930bee5247d498c2ca11932f655b8 (diff)
Merged revisions 106895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r106895 | russell | 2008-03-07 16:51:23 -0600 (Fri, 07 Mar 2008) | 2 lines Only start the SLA thread if SLA has actually been configured. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106896 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index b7a72aeb7..95f1e4444 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -5510,7 +5510,7 @@ static int sla_load_config(int reload)
ast_config_destroy(cfg);
- if (!reload)
+ if (!reload && (!AST_LIST_EMPTY(&sla_stations) || !AST_LIST_EMPTY(&sla_stations)))
ast_pthread_create(&sla.thread, NULL, sla_thread, NULL);
return res;