diff options
author | Kim Alvefur <zash@zash.se> | 2012-07-31 08:23:55 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-07-31 08:23:55 +0200 |
commit | d434226dbe1029b47f12569b7f91bddd90da621b (patch) | |
tree | 35c953b53e5f709b4ece99ff232c3de268ad1c30 /util | |
parent | 6803af2094867292188d73a647b94e5fd5fa0da9 (diff) | |
download | prosody-d434226dbe1029b47f12569b7f91bddd90da621b.tar.gz prosody-d434226dbe1029b47f12569b7f91bddd90da621b.zip |
util.datamanager: Add missing mode flag to seek call
Diffstat (limited to 'util')
-rw-r--r-- | util/datamanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/datamanager.lua b/util/datamanager.lua index 0eb3d58a..79be07b0 100644 --- 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 |