Module: kamailio
Branch: master
Commit: c76444da502325c90eb7ac0cbcc24e7bf16dd5d1
URL:
https://github.com/kamailio/kamailio/commit/c76444da502325c90eb7ac0cbcc24e7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-01T08:56:23+01:00
tm: update return code for EoH check failure
---
Modified: src/modules/tm/t_lookup.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c76444da502325c90eb7ac0cbcc24e7…
Patch:
https://github.com/kamailio/kamailio/commit/c76444da502325c90eb7ac0cbcc24e7…
---
diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index bfb18d6cbf3..0ac9f6773d9 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -1903,7 +1903,7 @@ int t_newtran(struct sip_msg *p_msg)
}
if((p_msg->parsed_flag & HDR_EOH_F) != HDR_EOH_F) {
LM_ERR("EoH not parsed\n");
- return E_OUT_OF_MEM;
+ return E_UNEXPECTED_STATE;
}
/* t_lookup_requests attempts to find the transaction;
* it also calls check_transaction_quadruple -> it is