Module: kamailio
Branch: master
Commit: ec15fc65bc6d38e74fdcf6a1fa6ef10053452365
URL:
https://github.com/kamailio/kamailio/commit/ec15fc65bc6d38e74fdcf6a1fa6ef10…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-27T14:23:02+02:00
mem/f_malloc: updates to use new api names for module stats
---
Modified: mem/f_malloc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ec15fc65bc6d38e74fdcf6a1fa6ef10…
Patch:
https://github.com/kamailio/kamailio/commit/ec15fc65bc6d38e74fdcf6a1fa6ef10…
---
diff --git a/mem/f_malloc.c b/mem/f_malloc.c
index 59f809e..6afe7f7 100644
--- a/mem/f_malloc.c
+++ b/mem/f_malloc.c
@@ -1067,8 +1067,8 @@ int fm_malloc_init_pkg_manager(void)
ma.xavailable = fm_available;
ma.xsums = fm_sums;
ma.xdestroy = fm_malloc_destroy_pkg_manager;
- ma.xstats = fm_mod_get_stats;
- ma.xfstats = fm_mod_free_stats;
+ ma.xmodstats = fm_mod_get_stats;
+ ma.xfmodstats = fm_mod_free_stats;
return pkg_init_api(&ma);
}
@@ -1218,8 +1218,8 @@ int fm_malloc_init_shm_manager(void)
ma.xavailable = fm_shm_available;
ma.xsums = fm_shm_sums;
ma.xdestroy = fm_malloc_destroy_shm_manager;
- ma.xstats = fm_mod_get_stats;
- ma.xfstats = fm_mod_free_stats;
+ ma.xmodstats = fm_mod_get_stats;
+ ma.xfmodstats = fm_mod_free_stats;
if(shm_init_api(&ma)<0) {
LM_ERR("cannot initialize the core shm api\n");