Module: kamailio
Branch: master
Commit: 91c0e1434d743b8af7bcaa7d993029b6a3c15cb8
URL:
https://github.com/kamailio/kamailio/commit/91c0e1434d743b8af7bcaa7d993029b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-24T12:46:57+01:00
presence_mwi: small improvement to error log message
---
Modified: src/modules/presence_mwi/add_events.c
---
Diff:
https://github.com/kamailio/kamailio/commit/91c0e1434d743b8af7bcaa7d993029b…
Patch:
https://github.com/kamailio/kamailio/commit/91c0e1434d743b8af7bcaa7d993029b…
---
diff --git a/src/modules/presence_mwi/add_events.c
b/src/modules/presence_mwi/add_events.c
index 94c606de75..001034ade4 100644
--- a/src/modules/presence_mwi/add_events.c
+++ b/src/modules/presence_mwi/add_events.c
@@ -106,8 +106,8 @@ int mwi_publ_handl(struct sip_msg* msg)
return 1;
err:
- LM_ERR("check of body <%.*s> failed at character number %d\n",
- body.len, body.s, (int)(at - body.s + 1));
+ LM_ERR("check of body <%.*s> failed at character index %d (hexa:
0x%x)\n",
+ body.len, body.s, (int)(at - body.s + 1), (int)(*at));
return -1;
}