[sr-dev] git:master:2c979957: htable: make static var the local htable item clone
Daniel-Constantin Mierla
miconda at gmail.com
Fri Mar 8 09:12:17 CET 2019
Module: kamailio
Branch: master
Commit: 2c9799570b4e8ffb001dad9210689d7fc50eb3d8
URL: https://github.com/kamailio/kamailio/commit/2c9799570b4e8ffb001dad9210689d7fc50eb3d8
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-03-08T09:03:47+01:00
htable: make static var the local htable item clone
---
Modified: src/modules/htable/ht_var.c
---
Diff: https://github.com/kamailio/kamailio/commit/2c9799570b4e8ffb001dad9210689d7fc50eb3d8.diff
Patch: https://github.com/kamailio/kamailio/commit/2c9799570b4e8ffb001dad9210689d7fc50eb3d8.patch
---
diff --git a/src/modules/htable/ht_var.c b/src/modules/htable/ht_var.c
index 0d07b92f19..74b8e4e9db 100644
--- a/src/modules/htable/ht_var.c
+++ b/src/modules/htable/ht_var.c
@@ -24,7 +24,7 @@
#include "ht_dmq.h"
/* pkg copy */
-ht_cell_t *_htc_local=NULL;
+static ht_cell_t *_htc_local=NULL;
extern ht_cell_t *ht_expired_cell;
int pv_get_ht_cell(struct sip_msg *msg, pv_param_t *param,
More information about the sr-dev
mailing list