[sr-dev] git:master:26dbc87a: core: mem/shm - use module stats fields for init of managers
Daniel-Constantin Mierla
miconda at gmail.com
Mon Mar 28 10:58:06 CEST 2016
Module: kamailio
Branch: master
Commit: 26dbc87aac8d117bf0928eb2124ecc91e512e20f
URL: https://github.com/kamailio/kamailio/commit/26dbc87aac8d117bf0928eb2124ecc91e512e20f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/26dbc87aac8d117bf0928eb2124ecc91e512e20f.diff
Patch: https://github.com/kamailio/kamailio/commit/26dbc87aac8d117bf0928eb2124ecc91e512e20f.patch
---
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;
}
More information about the sr-dev
mailing list