Module: sip-router
Branch: master
Commit: 897dfc4c0a7bad253cfe672e58d665e9b3deb34e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=897dfc4…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Tue Nov 6 23:28:55 2012 +0100
(core|modules/tm): corrected ambiguous error messages.
- As per Henning's suggestions.
---
modules/tm/t_fwd.c | 2 +-
msg_translator.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/tm/t_fwd.c b/modules/tm/t_fwd.c
index 7f4ad54..1423eea 100644
--- a/modules/tm/t_fwd.c
+++ b/modules/tm/t_fwd.c
@@ -428,7 +428,7 @@ static int prepare_new_uac( struct cell *t, struct sip_msg *i_req,
/* ... and build it now */
shbuf=build_req_buf_from_sip_req( i_req, &len, dst, BUILD_IN_SHM);
if (!shbuf) {
- LM_ERR("building request\n");
+ LM_ERR("could not build request\n");
ret=E_OUT_OF_MEM;
goto error01;
}
diff --git a/msg_translator.c b/msg_translator.c
index 2579a41..5783b7e 100644
--- a/msg_translator.c
+++ b/msg_translator.c
@@ -1722,7 +1722,7 @@ char * build_req_buf_from_sip_req( struct sip_msg* msg,
if (unlikely(via_anchor==0)) goto error00;
line_buf = create_via_hf( &via_len, msg, send_info, &branch);
if (unlikely(!line_buf)){
- LM_WARN("creating Via header\n");
+ LM_ERR("could not create Via header\n");
goto error00;
}
after_local_via: