diff options
author | Susu <susu-@live.fr> | 2013-05-17 11:10:30 +0200 |
---|---|---|
committer | Susu <susu-@live.fr> | 2013-05-17 11:10:30 +0200 |
commit | 25e848f1a0f9317d63106cae048a1ef838411cb2 (patch) | |
tree | 0c1dc751af9f06e1ce3729d271de301f78a4e611 /src/common/console.c | |
parent | 3820bd7e7715bc84f458cf1bf466e6377a2d2e46 (diff) | |
download | hercules-25e848f1a0f9317d63106cae048a1ef838411cb2.tar.gz hercules-25e848f1a0f9317d63106cae048a1ef838411cb2.tar.bz2 hercules-25e848f1a0f9317d63106cae048a1ef838411cb2.tar.xz hercules-25e848f1a0f9317d63106cae048a1ef838411cb2.zip |
- Made DB and malloc lib HPM-friendly
- Also fixed a bug preventing the plugins to be loeaded because HPMI and HPMI_s weren't HPExport
Diffstat (limited to 'src/common/console.c')
-rw-r--r-- | src/common/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/console.c b/src/common/console.c index 248dd7b45..ba93b8e09 100644 --- a/src/common/console.c +++ b/src/common/console.c @@ -98,7 +98,7 @@ CPCMD(help) { } /* [Ind/Hercules] */ CPCMD(malloc_usage) { - unsigned int val = (unsigned int)malloc_usage(); + unsigned int val = (unsigned int)malloclib->usage(); ShowInfo("malloc_usage: %.2f MB\n",(double)(val)/1024); } #define CP_DEF_C(x) { #x , NULL , NULL, NULL } |