Module: sip-router
Branch: master
Commit: 014d1000055d8ee93ef35336b1701674fe23a675
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=014d1000055d8ee93ef35336b1701674fe23a675

Author: Peter Dunkley <[email protected]>
Committer: Peter Dunkley <[email protected]>
Date:   Wed Oct 31 17:48:17 2012 +0000

core: corrected some mis-leading error messages

---

 msg_translator.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/msg_translator.c b/msg_translator.c
index 0447bfa..6985418 100644
--- a/msg_translator.c
+++ b/msg_translator.c
@@ -1722,8 +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)){
-               LOG(L_ERR,"ERROR: build_req_buf_from_sip_req: "
-                                       "memory allocation failure\n");
+               LM_WARN("creating Via header\n");
                goto error00;
        }
 after_local_via:
@@ -2496,7 +2495,8 @@ char* via_builder( unsigned int *len,
                 }
 
                 if (con == NULL) {
-                        LM_WARN("TCP/TLS connection for WebSocket could not be 
found\n");
+                        LM_WARN("TCP/TLS connection (id: %d) for WebSocket 
could not be found\n"
+                               send_info->id);
                         return 0;
                 }
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to