From: Russell Bryant Date: Fri, 7 Mar 2008 22:52:46 +0000 (+0000) Subject: Merged revisions 106895 via svnmerge from X-Git-Tag: 1.6.0-beta7~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbc74f0dd062ffab4fc1449f757577574d343d08;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@106896 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index b7a72aeb7e..95f1e44442 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;