Module: kamailio
Branch: master
Commit: 5ef91a63b8cd83daf51f195171f3ccbb14f02e6e
URL: 
https://github.com/kamailio/kamailio/commit/5ef91a63b8cd83daf51f195171f3ccbb14f02e6e

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2018-05-07T09:39:08+02:00

core: improve existing DBG message, also output to tag

---

Modified: src/core/parser/msg_parser.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/5ef91a63b8cd83daf51f195171f3ccbb14f02e6e.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5ef91a63b8cd83daf51f195171f3ccbb14f02e6e.patch

---

diff --git a/src/core/parser/msg_parser.c b/src/core/parser/msg_parser.c
index 2a3d3b1de5..0420dcd172 100644
--- a/src/core/parser/msg_parser.c
+++ b/src/core/parser/msg_parser.c
@@ -169,7 +169,7 @@ char* get_hdr_field(char* const buf, char* const end, 
struct hdr_field* const hd
                        hdr->body.len=tmp-hdr->body.s;
                        DBG("<%.*s> [%d]; uri=[%.*s]\n", hdr->name.len, 
ZSW(hdr->name.s),
                                        hdr->body.len, to_b->uri.len, 
ZSW(to_b->uri.s));
-                       DBG("to body [%.*s]\n", to_b->body.len, 
ZSW(to_b->body.s));
+                       DBG("to body [%.*s], to tag [%.*s]\n", to_b->body.len, 
ZSW(to_b->body.s), to_b->tag_value.len, ZSW(to_b->tag_value.s));
                        break;
                case HDR_CONTENTLENGTH_T:
                        hdr->body.s=tmp;


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to