diff options
Diffstat (limited to 'util/xml.lua')
-rw-r--r-- | util/xml.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/xml.lua b/util/xml.lua index 4327dfba..9322f3ad 100644 --- a/util/xml.lua +++ b/util/xml.lua @@ -84,7 +84,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)(); |