summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-07-02 17:14:32 +0000
committerOlle Johansson <oej@edvina.net>2006-07-02 17:14:32 +0000
commit4c8e3bcdca66a9074757ac36b9d507ada95aeee1 (patch)
treea27eb129c01fac2519e2e2e8dcb933b0c10250df /channels
parente995afbd10d9c27c07102f98881aa560f9443d79 (diff)
users want code to compile, really.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-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, '<');