Module: kamailio
Branch: master
Commit: 26dbc87aac8d117bf0928eb2124ecc91e512e20f
URL:
https://github.com/kamailio/kamailio/commit/26dbc87aac8d117bf0928eb2124ecc9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-03-27T14:22:37+02:00
core: mem/shm - use module stats fields for init of managers
---
Modified: mem/shm.c
---
Diff:
https://github.com/kamailio/kamailio/commit/26dbc87aac8d117bf0928eb2124ecc9…
Patch:
https://github.com/kamailio/kamailio/commit/26dbc87aac8d117bf0928eb2124ecc9…
---
diff --git a/mem/shm.c b/mem/shm.c
index 94a9915..e4f4ad6 100644
--- a/mem/shm.c
+++ b/mem/shm.c
@@ -221,8 +221,8 @@ int shm_init_api(sr_shm_api_t *ap)
_shm_root.xavailable = ap->xavailable;
_shm_root.xsums = ap->xsums;
_shm_root.xdestroy = ap->xdestroy;
- _shm_root.xstats = ap->xstats;
- _shm_root.xfstats = ap->xfstats;
+ _shm_root.xmodstats = ap->xmodstats;
+ _shm_root.xfmodstats = ap->xfmodstats;
return 0;
}