Fix a typo
authorMartin Pycko <martinp@digium.com>
Mon, 12 Jan 2004 16:59:57 +0000 (16:59 +0000)
committerMartin Pycko <martinp@digium.com>
Mon, 12 Jan 2004 16:59:57 +0000 (16:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1982 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 80e4fec..1cb7385 100755 (executable)
@@ -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;
                                        }