Module: sip-router
Branch: pd/outbound
Commit: 7d6d7f177f465e184e1ef612a82a7406ccadd45a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7d6d7f1…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Mon Dec 31 13:25:36 2012 +0000
modules_k/rr: fixed typos in diagnostics and comments
---
modules_k/rr/loose.c | 10 +++++-----
modules_k/rr/record.c | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/modules_k/rr/loose.c b/modules_k/rr/loose.c
index 01d95e4..5be28fd 100644
--- a/modules_k/rr/loose.c
+++ b/modules_k/rr/loose.c
@@ -495,8 +495,8 @@ static char uri_buf[MAX_ROUTE_URI_LEN];
/*!
* \brief Perform outbound processing - force local socket and set destination URI
* \param _m SIP message
- * \param flow_token string containing the flow token extracted from the Route: header
- * \param dst_uri string to write the destination URI to (extracted from flow token)
+ * \param flow_token string containing the flow-token extracted from the Route: header
+ * \param dst_uri string to write the destination URI to (extracted from flow-token)
* \return -1 on error, 0 when outbound not in use, 1 when outbound in use
*/
static inline int process_outbound(struct sip_msg *_m, str flow_token,
@@ -515,7 +515,7 @@ static inline int process_outbound(struct sip_msg *_m, str
flow_token,
if (si)
set_force_socket(_m, si);
else {
- LM_ERR("cannot find socket from flow token\n");
+ LM_ERR("cannot find socket from flow-token\n");
return -1;
}
@@ -575,7 +575,7 @@ static inline int after_strict(struct sip_msg* _m)
next_is_strict = is_strict(&puri.params);
if ((use_ob = process_outbound(_m, puri.user, &uri) < 0)) {
- LM_ERR("processing outbound flow token\n");
+ LM_ERR("processing outbound flow-token\n");
return RR_ERROR;
}
@@ -768,7 +768,7 @@ static inline int after_loose(struct sip_msg* _m, int preloaded)
routed_params = puri.params;
uri_is_myself = is_myself(&puri);
if ((use_ob = process_outbound(_m, puri.user, &uri) < 0)) {
- LM_ERR("processing outbound flow token\n");
+ LM_ERR("processing outbound flow-token\n");
return RR_ERROR;
}
diff --git a/modules_k/rr/record.c b/modules_k/rr/record.c
index 5e2c418..394f0a1 100644
--- a/modules_k/rr/record.c
+++ b/modules_k/rr/record.c
@@ -291,7 +291,7 @@ int record_route(struct sip_msg* _m, str *params)
}
} else if (rr_obb.use_outbound && rr_obb.use_outbound(_m)) {
if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
- LM_ERR("encoding outbound flow token\n");
+ LM_ERR("encoding outbound flow-token\n");
return -1;
}
}
@@ -380,7 +380,7 @@ int record_route_preset(struct sip_msg* _m, str* _data)
}
} else if (rr_obb.use_outbound && rr_obb.use_outbound(_m)) {
if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
- LM_ERR("encoding outbound flow token\n");
+ LM_ERR("encoding outbound flow-token\n");
return -1;
}
}
@@ -602,7 +602,7 @@ int record_route_advertised_address(struct sip_msg* _m, str* _data)
}
} else if (rr_obb.use_outbound && rr_obb.use_outbound(_m)) {
if (rr_obb.encode_flow_token(&user, _m->rcv) != 0) {
- LM_ERR("encoding outbound flow token\n");
+ LM_ERR("encoding outbound flow-token\n");
return -1;
}
}