Fix a typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2004-01-12 16:59:57 +00:00
parent d319206566
commit 9e1bae7bad

View File

@@ -1827,7 +1827,7 @@ static int zt_hangup(struct ast_channel *ast)
if (!p->alreadyhungup) {
res = pri_disconnect(p->pri->pri, p->call, PRI_CAUSE_NORMAL_CLEARING);
} else {
pri(p->pri->pri, p->call, -1);
pri_release(p->pri->pri, p->call, -1);
p->call = NULL;
p->alreadyhungup = 0;
}