Module: kamailio
Branch: master
Commit: 1562c31c799cbaeeb7453e73183950f6818534b6
URL:
https://github.com/kamailio/kamailio/commit/1562c31c799cbaeeb7453e73183950f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-24T15:19:27+02:00
core: print content when failing to parse rr body
---
Modified: parser/parse_rr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1562c31c799cbaeeb7453e73183950f…
Patch:
https://github.com/kamailio/kamailio/commit/1562c31c799cbaeeb7453e73183950f…
---
diff --git a/parser/parse_rr.c b/parser/parse_rr.c
index e478ebe..4fb32b0 100644
--- a/parser/parse_rr.c
+++ b/parser/parse_rr.c
@@ -129,6 +129,7 @@ static inline int do_parse_rr_body(char *buf, int len, rr_t **head)
error:
if (r) free_rr(&r);
free_rr(head); /* Free any contacts created so far */
+ LM_ERR("Failed parsing rr header body [%.*s]\n", len, ZSW(buf));
return -1;
ok: