Merged revisions 86117 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 17 Oct 2007 17:00:13 +0000 (17:00 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 17 Oct 2007 17:00:13 +0000 (17:00 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86117 | file | 2007-10-17 13:58:03 -0300 (Wed, 17 Oct 2007) | 4 lines

Whoops, forgot to remove the original sip_scheddestroy.
(closes issue #11010)
Reported by: vadim

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index a64be18..837b12d 100644 (file)
@@ -10482,7 +10482,6 @@ static void receive_message(struct sip_pvt *p, struct sip_request *req)
                transmit_response(p, "405 Method Not Allowed", req); /* Good enough, or? */
                sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
        }
-       sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
        return;
 }