changeset 4761:ea1ecbc1d04d

Merge commit
author tmolitor <thilo@eightysoft.de>
date Sun, 07 Nov 2021 14:41:43 +0100
parents 367a8020bd92 (current diff) f649305d0bec (diff)
children ba312cd7907f
files
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_admin_web/README.markdown	Sun Nov 07 14:40:41 2021 +0100
+++ b/mod_admin_web/README.markdown	Sun Nov 07 14:41:43 2021 +0100
@@ -28,7 +28,7 @@
 1.  Copy the admin\_web directory into a directory Prosody will check
     for plugins. (cf. [Installing
     modules](http://prosody.im/doc/installing_modules))
-2.  Execute the contained get\_deps.sh script from within the admin\_web
+2.  Execute the contained `get_deps.sh` script from within the admin\_web
     directory. (Requires wget, tar, and a basic shell)
 
 Configuration Details
--- a/mod_measure_malloc/mod_measure_malloc.lua	Sun Nov 07 14:40:41 2021 +0100
+++ b/mod_measure_malloc/mod_measure_malloc.lua	Sun Nov 07 14:41:43 2021 +0100
@@ -25,7 +25,7 @@
 ):with_labels();
 
 module:hook("stats-update", function ()
-	meminfo = pposix.meminfo();
+	local meminfo = pposix.meminfo();
 	if meminfo.allocated then
 		allocated:with_labels("sbrk"):set(meminfo.allocated);
 	end