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:
Jeremy McNamara
2004-01-11 06:54:22 +00:00
parent c54405c270
commit f020200c2c

View File

@@ -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;