aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/xml.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xml.lua b/util/xml.lua
index dac3f6fe..f826b6bf 100644
--- a/util/xml.lua
+++ b/util/xml.lua
@@ -71,7 +71,7 @@ local parse_xml = (function()
if ok then
return stanza.tags[1];
else
- return ok, err.." (line "..line..", col "..col..")";
+ return ok, ("%s (line %d, col %d))"):format(err, line, col);
end
end;
end)();