]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Formatting fix.
authorOlle Johansson <oej@edvina.net>
Wed, 8 Mar 2006 20:42:47 +0000 (20:42 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 8 Mar 2006 20:42:47 +0000 (20:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12471 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 8a5d362627e105b1054bc81a9bac8785b67bd7e5..06ef7391040d3360512819a2a1579cbb24599fce 100644 (file)
@@ -1273,7 +1273,9 @@ static int retrans_pkt(void *data)
        } 
        /* Too many retries */
        if (pkt->owner && pkt->method != SIP_OPTIONS) {
-               if (ast_test_flag(pkt, FLAG_FATAL) || sipdebug) /* Tell us if it's critical or if we're debugging */ ast_log(LOG_WARNING, "Maximum retries exceeded on transmission %s for seqno %d (%s %s)\n", pkt->owner->callid, pkt->seqno, (ast_test_flag(pkt, FLAG_FATAL)) ? "Critical" : "Non-critical", (ast_test_flag(pkt, FLAG_RESPONSE)) ? "Response" : "Request"); } else {
+               if (ast_test_flag(pkt, FLAG_FATAL) || sipdebug) /* Tell us if it's critical or if we're debugging */
+                       ast_log(LOG_WARNING, "Maximum retries exceeded on transmission %s for seqno %d (%s %s)\n", pkt->owner->callid, pkt->seqno, (ast_test_flag(pkt, FLAG_FATAL)) ? "Critical" : "Non-critical", (ast_test_flag(pkt, FLAG_RESPONSE)) ? "Response" : "Request");
+       } else {
                if ((pkt->method == SIP_OPTIONS) && sipdebug)
                        ast_log(LOG_WARNING, "Cancelling retransmit of OPTIONs (call id %s) \n", pkt->owner->callid);
        }