From c76444da502325c90eb7ac0cbcc24e7bf16dd5d1 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Wed, 1 Nov 2023 08:55:29 +0100 Subject: [PATCH] tm: update return code for EoH check failure --- src/modules/tm/t_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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