Browse code

core: print the len for added header in debug message

(cherry picked from commit eb9d4e0fe99b0b81e9f33106e080112be22b28a5)

Daniel-Constantin Mierla authored on 13/10/2016 12:27:44
Showing 1 changed files
... ...
@@ -773,7 +773,7 @@ int sr_hdr_add(sip_msg_t *msg, str *sname, str *sbody)
773 773
 		pkg_free(h.s);
774 774
 		return -1;
775 775
 	}
776
-	LM_DBG("added new header [%s]\n", h.s);
776
+	LM_DBG("added new header (%d) [%s]\n", h.len, h.s);
777 777
 	return 0;
778 778
 }
779 779