diff options
author | Olle Johansson <oej@edvina.net> | 2006-03-08 20:42:47 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-03-08 20:42:47 +0000 |
commit | 52812c2917b7932a9f6711d167fc034410b4a429 (patch) | |
tree | eb8d34a337484eb0686b416953b60e8f6bcae37f /channels/chan_sip.c | |
parent | f553e282e8459869fc986548e63a0e227ca7ccb0 (diff) |
Formatting fix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8a5d36262..06ef73910 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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); } |