aboutsummaryrefslogtreecommitdiffstats
path: root/util/json.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-02-24 01:40:47 +0000
committerMatthew Wild <mwild1@gmail.com>2011-02-24 01:40:47 +0000
commit3d829c1729e9462ddf3892554193536896e4c5f6 (patch)
tree926fc5bda110ff63c50e0f0425042fb1549f4bc0 /util/json.lua
parent9d5e9921e6945b5dd7e0d70d8e340a74f018f574 (diff)
parentb40e6b9dd9f6012f9548dd75932e51433e011c2a (diff)
downloadprosody-3d829c1729e9462ddf3892554193536896e4c5f6.tar.gz
prosody-3d829c1729e9462ddf3892554193536896e4c5f6.zip
Merge with waqas
Diffstat (limited to 'util/json.lua')
-rw-r--r--util/json.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/json.lua b/util/json.lua
index 40939bb4..05453703 100644
--- a/util/json.lua
+++ b/util/json.lua
@@ -268,7 +268,9 @@ function json.decode(json)
return tonumber(s);
end
local function readmember(t)
+ skipstuff();
local k = readstring();
+ skipstuff();
checkandskip(":");
t[k] = readvalue();
end