[svn-commits] trunk r36661 - /trunk/channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sun Jul 2 10:14:33 MST 2006
Author: oej
Date: Sun Jul 2 12:14:32 2006
New Revision: 36661
URL: http://svn.digium.com/view/asterisk?rev=36661&view=rev
Log:
users want code to compile, really.
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=36661&r1=36660&r2=36661&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Jul 2 12:14:32 2006
@@ -5361,7 +5361,7 @@
c = is_strict ? p->route->hop : p->okcontacturi; /* Use for BYE or REINVITE */
else if (!ast_strlen_zero(p->uri))
c = p->uri;
- } else {
+ else {
char *n;
/* We have no URI, use To: or From: header as URI (depending on direction) */
ast_copy_string(stripped, get_header(orig, (ast_test_flag(&p->flags[0], SIP_OUTGOING)) ? "To" : "From"),
@@ -7602,7 +7602,7 @@
/* Can be multiple Contact headers, comma separated values - we just take the first */
contact = get_header(req, "Contact");
if (!ast_strlen_zero(contact)) {
- if (option-debug > 1)
+ if (option_debug > 1)
ast_log(LOG_DEBUG, "build_route: Contact hop: %s\n", contact);
/* Look for <: delimited address */
c = strchr(contact, '<');
More information about the svn-commits
mailing list