summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-10-09 08:33:52 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-10-09 08:33:52 +0000
commit69af2cea2f05081261d0a198ad9edbffd3e972de (patch)
tree7fd50a285e1f6f25fe8efd4d9cddd99e6b839940
parentad63b4c7c19fcb56094e14c09509b1aee90ef4d5 (diff)
use S_OR in one place
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 75e8b0629..45f348a59 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -14311,7 +14311,7 @@ retrylock:
append_history(p, "Rx", "%s / %s / %s", req.data, get_header(&req, "CSeq"), req.rlPart2);
if (!lockretry) {
- ast_log(LOG_ERROR, "We could NOT get the channel lock for %s! \n", p->owner->name ? p->owner->name : "- no channel name ??? - ");
+ ast_log(LOG_ERROR, "We could NOT get the channel lock for %s! \n", S_OR(p->owner->name, "- no channel name ??? - "));
ast_log(LOG_ERROR, "SIP transaction failed: %s \n", p->callid);
transmit_response(p, "503 Server error", &req); /* We must respond according to RFC 3261 sec 12.2 */
/* XXX We could add retry-after to make sure they come back */