Module: kamailio Branch: master Commit: 551a562eb799c903cda09599ff5d47366abf42c9 URL: https://github.com/kamailio/kamailio/commit/551a562eb799c903cda09599ff5d47366abf42c9
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2015-09-24T21:47:41+02:00 topoh: print the message buffer if parsing headers failed --- Modified: modules/topoh/topoh_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/551a562eb799c903cda09599ff5d47366abf42c9.diff Patch: https://github.com/kamailio/kamailio/commit/551a562eb799c903cda09599ff5d47366abf42c9.patch --- diff --git a/modules/topoh/topoh_mod.c b/modules/topoh/topoh_mod.c index d3f347e..343a745 100644 --- a/modules/topoh/topoh_mod.c +++ b/modules/topoh/topoh_mod.c @@ -229,7 +229,8 @@ int th_prepare_msg(sip_msg_t *msg) if (parse_headers(msg, HDR_EOH_F, 0)==-1) { - LM_DBG("parsing headers failed"); + LM_DBG("parsing headers failed [[%.*s]]\n", + msg->len, msg->buf); return 2; } _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
