projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de20dc8
)
util.datamanager: Fix traceback due to %s in log message
author
Kim Alvefur
<zash@zash.se>
Fri, 3 Apr 2015 10:10:30 +0000
(12:10 +0200)
committer
Kim Alvefur
<zash@zash.se>
Fri, 3 Apr 2015 10:10:30 +0000
(12:10 +0200)
util/datamanager.lua
patch
|
blob
|
history
diff --git
a/util/datamanager.lua
b/util/datamanager.lua
index b82349f10957bd31d186cb00664902adce63784f..b4138638f790b437bd85d2caf5b91588a53933d2 100644
(file)
--- a/
util/datamanager.lua
+++ b/
util/datamanager.lua
@@
-293,7
+293,7
@@
function users(host, store, typ)
local mode, err = lfs.attributes(store_dir, "mode");
if not mode then
- return function() log("debug", err or (store_dir .. " does not exist")) end
+ return function() log("debug",
"%s",
err or (store_dir .. " does not exist")) end
end
local next, state = lfs.dir(store_dir);
return function(state)