aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-02 17:14:32 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-02 17:14:32 +0000
commiteeda04fb95e01c6cc83bc470c5fb9dae51e70ea6 (patch)
treea27eb129c01fac2519e2e2e8dcb933b0c10250df
parent7cced8384666dc92ae63160dfe67e4fc2b5824b7 (diff)
users want code to compile, really.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36661 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 9921a0b49..37f9df606 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5361,7 +5361,7 @@ static int reqprep(struct sip_request *req, struct sip_pvt *p, int sipmethod, in
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 @@ static void build_route(struct sip_pvt *p, struct sip_request *req, int backward
/* 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, '<');