Module: kamailio
Branch: master
Commit: 5f780a202b2132c4d622859a388432f0f6cbb3c7
URL:
https://github.com/kamailio/kamailio/commit/5f780a202b2132c4d622859a388432f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-09-05T09:23:57+02:00
topos: more appropriate error log when attepting to delete header
---
Modified: modules/topos/tps_msg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5f780a202b2132c4d622859a388432f…
Patch:
https://github.com/kamailio/kamailio/commit/5f780a202b2132c4d622859a388432f…
---
diff --git a/modules/topos/tps_msg.c b/modules/topos/tps_msg.c
index 37347ab..4757c0b 100644
--- a/modules/topos/tps_msg.c
+++ b/modules/topos/tps_msg.c
@@ -121,7 +121,7 @@ int tps_remove_headers(sip_msg_t *msg, uint32_t hdr)
continue;
l=del_lump(msg, hf->name.s-msg->buf, hf->len, 0);
if (l==0) {
- LM_ERR("no memory\n");
+ LM_ERR("failed to remove the header\n");
return -1;
}
}