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

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2016-10-13T14:27:44+02:00

core: print the len for added header in debug message

---

Modified: data_lump.c

---

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

---

diff --git a/data_lump.c b/data_lump.c
index 5b87b8e..949b03f 100644
--- a/data_lump.c
+++ b/data_lump.c
@@ -773,7 +773,7 @@ int sr_hdr_add(sip_msg_t *msg, str *sname, str *sbody)
                pkg_free(h.s);
                return -1;
        }
-       LM_DBG("added new header [%s]\n", h.s);
+       LM_DBG("added new header (%d) [%s]\n", h.len, h.s);
        return 0;
 }
 


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to