From 4a4ecf81a88d780db2b852a36667481c2ec82d7f Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 17 Jun 2004 02:42:42 +0000 Subject: Must be inside lock when finding start git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3231 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_meetme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/app_meetme.c') diff --git a/apps/app_meetme.c b/apps/app_meetme.c index d87776104..57cb46f01 100755 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -961,10 +961,11 @@ static struct ast_conference *find_conf(struct ast_channel *chan, char *confno, { struct ast_config *cfg; struct ast_variable *var; - struct ast_conference *cnf = confs; + struct ast_conference *cnf; /* Check first in the conference list */ ast_mutex_lock(&conflock); + cnf = confs; while (cnf) { if (!strcmp(confno, cnf->confno)) break; -- cgit v1.2.3