[asterisk-commits] russell: trunk r151555 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 22 12:45:05 CDT 2008


Author: russell
Date: Wed Oct 22 12:45:05 2008
New Revision: 151555

URL: http://svn.digium.com/view/asterisk?view=rev&rev=151555
Log:
Print out the right var in the log message

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=151555&r1=151554&r2=151555
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Oct 22 12:45:05 2008
@@ -9774,7 +9774,7 @@
 	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);




More information about the asterisk-commits mailing list