Software /
code /
prosody
Diff
util/debug.lua @ 4541:05f5ec99da77
Merge with trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Jan 2012 22:55:49 +0000 |
parent | 4465:41c4252526bd |
child | 4519:510f4ba7080f |
child | 4680:8834f220ab91 |
line wrap: on
line diff
--- a/util/debug.lua Sat Dec 10 17:21:19 2011 +0000 +++ b/util/debug.lua Sun Jan 22 22:55:49 2012 +0000 @@ -9,6 +9,7 @@ }; local function get_locals_table(level) + level = level + 1; -- Skip this function itself local locals = {}; for local_num = 1, math.huge do local name, value = debug.getlocal(level, local_num);