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 | 161a78b35bd69f748b52989945613809541e26a3 (patch) | |
tree | 35c953b53e5f709b4ece99ff232c3de268ad1c30 | |
parent | abbff817a971616372117425e81e22d0e4848eb7 (diff) | |
download | prosody-161a78b35bd69f748b52989945613809541e26a3.tar.gz prosody-161a78b35bd69f748b52989945613809541e26a3.zip |
util.datamanager: Add missing mode flag to seek call
-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 |