Fix a typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1982 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
85fc0c4304
commit
28b775e548
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue