]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Reverting merge 219520. This change was not necessary.
authorDavid Vossel <dvossel@digium.com>
Mon, 21 Sep 2009 16:55:53 +0000 (16:55 +0000)
committerDavid Vossel <dvossel@digium.com>
Mon, 21 Sep 2009 16:55:53 +0000 (16:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@219720 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index eb482bcdec6cf1dc6d38c86145c813ee11a86ab8..cc022d8d64b68cc796c1710c5d6b4cd7ee0d9f83 100644 (file)
@@ -3064,6 +3064,7 @@ static void __attempt_transmit(const void *data)
                AST_LIST_REMOVE(&iaxq.queue, f, list);
                iaxq.count--;
                AST_LIST_UNLOCK(&iaxq.queue);
+               f->retrans = -1; /* this is safe because this is the scheduled function */
                /* Free the IAX frame */
                iax2_frame_free(f);
        }