Module: kamailio
Branch: master
Commit: 8f2864b1845cfa2b520c0886e30d1f5df285eef6
URL:
https://github.com/kamailio/kamailio/commit/8f2864b1845cfa2b520c0886e30d1f5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-27T14:23:46+02:00
mem/q_malloc: updates to use new api names for module stats
---
Modified: mem/q_malloc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8f2864b1845cfa2b520c0886e30d1f5…
Patch:
https://github.com/kamailio/kamailio/commit/8f2864b1845cfa2b520c0886e30d1f5…
---
diff --git a/mem/q_malloc.c b/mem/q_malloc.c
index 9826828..36cc15a 100644
--- a/mem/q_malloc.c
+++ b/mem/q_malloc.c
@@ -1032,8 +1032,8 @@ int qm_malloc_init_pkg_manager(void)
ma.xavailable = qm_available;
ma.xsums = qm_sums;
ma.xdestroy = qm_malloc_destroy_pkg_manager;
- ma.xstats = qm_mod_get_stats;
- ma.xfstats = qm_mod_free_stats;
+ ma.xmodstats = qm_mod_get_stats;
+ ma.xfmodstats = qm_mod_free_stats;
return pkg_init_api(&ma);
}
@@ -1183,8 +1183,8 @@ int qm_malloc_init_shm_manager(void)
ma.xavailable = qm_shm_available;
ma.xsums = qm_shm_sums;
ma.xdestroy = qm_malloc_destroy_shm_manager;
- ma.xstats = qm_mod_get_stats;
- ma.xfstats = qm_mod_free_stats;
+ ma.xmodstats = qm_mod_get_stats;
+ ma.xfmodstats = qm_mod_free_stats;
if(shm_init_api(&ma)<0) {
LM_ERR("cannot initialize the core shm api\n");