projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e8959b
)
util.datamanager: Add missing mode flag to seek call
author
Kim Alvefur
<zash@zash.se>
Tue, 31 Jul 2012 06:23:55 +0000
(08:23 +0200)
committer
Kim Alvefur
<zash@zash.se>
Tue, 31 Jul 2012 06:23:55 +0000
(08:23 +0200)
util/datamanager.lua
patch
|
blob
|
history
diff --git
a/util/datamanager.lua
b/util/datamanager.lua
index 0eb3d58adf0ca7452094e7bef6110318eaca78bd..79be07b06c0ded287862a1d0c5603ff7f397358b 100644
(file)
--- a/
util/datamanager.lua
+++ b/
util/datamanager.lua
@@
-43,7
+43,7
@@
if not fallocate then -- Fallback
if not ok then
return ok, msg;
end
- f:seek(offset);
+ f:seek(
"set",
offset);
return true;
end
end