[sr-dev] git:master:b568c653: core: mem/pkg - use module stats fields for init of managers

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 28 10:58:05 CEST 2016


Module: kamailio
Branch: master
Commit: b568c6533670b1400f7c12bd13169d41542c351a
URL: https://github.com/kamailio/kamailio/commit/b568c6533670b1400f7c12bd13169d41542c351a

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-03-27T14:21:55+02:00

core: mem/pkg - use module stats fields for init of managers
q

---

Modified: mem/pkg.c

---

Diff:  https://github.com/kamailio/kamailio/commit/b568c6533670b1400f7c12bd13169d41542c351a.diff
Patch: https://github.com/kamailio/kamailio/commit/b568c6533670b1400f7c12bd13169d41542c351a.patch

---

diff --git a/mem/pkg.c b/mem/pkg.c
index a4f0906..53166ac 100644
--- a/mem/pkg.c
+++ b/mem/pkg.c
@@ -46,8 +46,8 @@ int pkg_init_api(sr_pkg_api_t *ap)
 	_pkg_root.xavailable = ap->xavailable;
 	_pkg_root.xsums      = ap->xsums;
 	_pkg_root.xdestroy   = ap->xdestroy;
-	_pkg_root.xstats     = ap->xstats;
-	_pkg_root.xfstats    = ap->xfstats;
+	_pkg_root.xmodstats  = ap->xmodstats;
+	_pkg_root.xfmodstats = ap->xfmodstats;
 	return 0;
 }
 




More information about the sr-dev mailing list