another buglet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-09-07 01:55:29 +00:00
parent 764cfe8f8e
commit 35d9febc6e

View File

@@ -885,7 +885,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
}
ast_indicate(chan, -1);
retryzap = strcasecmp(chan->type, "Zap");
user->zapchannel = retryzap;
user->zapchannel = !strcasecmp(chan->type, "Zap");
zapretry:
origfd = chan->fds[0];
if (retryzap) {