diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-11-25 21:57:59 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-11-25 21:57:59 +0000 |
commit | fe2c495db653f4130db91b73be643531135ad9d1 (patch) | |
tree | 47d43821077692be20364ee0932201fc1e4975ea | |
parent | 2d20ab2b07a45234bfc58df6e572b0e1ccc75f31 (diff) |
Merged revisions 159269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r159269 | tilghman | 2008-11-25 15:56:48 -0600 (Tue, 25 Nov 2008) | 7 lines
Don't try to send a response on a NULL pvt.
(closes issue #13919)
Reported by: barthpbx
Patches:
chan_iax2.c.patch uploaded by eliel (license 64)
Tested by: barthpbx
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index e95d39f4c..38fb9983b 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -7208,7 +7208,7 @@ static int update_registry(struct sockaddr_in *sin, int callno, char *devtype, i /* Make sure our call still exists, an INVAL at the right point may make it go away */ if (!iaxs[callno]) { - res = 0; + res = -1; goto return_unref; } |