mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +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");
|
||||
}
|
||||
cnfout:
|
||||
if (cnf && make)
|
||||
if (cnf && (make || dynamic))
|
||||
cnf->users++;
|
||||
ast_mutex_unlock(&conflock);
|
||||
return cnf;
|
||||
|
Reference in New Issue
Block a user