diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-10-22 17:45:05 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-10-22 17:45:05 +0000 |
commit | 89e0def9f9b881e7debb76467eca1e954a15743d (patch) | |
tree | 55cb3bb75cebdfca520dce344b1e0af98585d751 | |
parent | ca14f718d7118041557a65438bb10d31d2eb7661 (diff) |
Print out the right var in the log message
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index c11f740b8..0d70e635e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9774,7 +9774,7 @@ static int transmit_state_notify(struct sip_pvt *p, int state, int full, int tim ast_copy_string(to, get_header(&p->initreq, "To"), sizeof(to)); c = get_in_brackets(to); if (strncasecmp(c, "sip:", 4) && strncasecmp(c, "sips:", 5)) { - ast_log(LOG_WARNING, "Huh? Not a SIP header (%s)?\n", to); + ast_log(LOG_WARNING, "Huh? Not a SIP header (%s)?\n", c); return -1; } mto = remove_uri_parameters(c); |