mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Take 3, count dynamic users also
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -191,7 +191,7 @@ static struct ast_conference *build_conf(char *confno, char *pin, int make, int
|
|||||||
ast_log(LOG_WARNING, "Out of memory\n");
|
ast_log(LOG_WARNING, "Out of memory\n");
|
||||||
}
|
}
|
||||||
cnfout:
|
cnfout:
|
||||||
if (cnf && make)
|
if (cnf && (make || dynamic))
|
||||||
cnf->users++;
|
cnf->users++;
|
||||||
ast_mutex_unlock(&conflock);
|
ast_mutex_unlock(&conflock);
|
||||||
return cnf;
|
return cnf;
|
||||||
|
Reference in New Issue
Block a user