Take 3, count dynamic users also

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Jeremy McNamara 23 years ago
parent c54405c270
commit f020200c2c

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

Loading…
Cancel
Save