Module: kamailio
Branch: master
Commit: 236c56f5f4c11fb867e545f830182b386f0a0c66
URL:
https://github.com/kamailio/kamailio/commit/236c56f5f4c11fb867e545f830182b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-01-24T09:19:57+01:00
tm: prefixed global kill reason variable
---
Modified: src/modules/tm/h_table.c
---
Diff:
https://github.com/kamailio/kamailio/commit/236c56f5f4c11fb867e545f830182b3…
Patch:
https://github.com/kamailio/kamailio/commit/236c56f5f4c11fb867e545f830182b3…
---
diff --git a/src/modules/tm/h_table.c b/src/modules/tm/h_table.c
index 2d21eb12eca..7ee7c67470c 100644
--- a/src/modules/tm/h_table.c
+++ b/src/modules/tm/h_table.c
@@ -52,7 +52,7 @@
- sizeof(((tm_cell_t *)0)->md5)))
-static enum kill_reason kr;
+static enum kill_reason _tm_kr;
/* pointer to the big table where all the transaction data lives */
struct s_table *_tm_table;
@@ -64,18 +64,18 @@ struct s_table *tm_get_table(void)
void reset_kr(void)
{
- kr = 0;
+ _tm_kr = 0;
}
void set_kr(enum kill_reason _kr)
{
- kr |= _kr;
+ _tm_kr |= _kr;
}
enum kill_reason get_kr()
{
- return kr;
+ return _tm_kr;
}