summaryrefslogtreecommitdiffstats
path: root/freeswitch-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'freeswitch-model.lua')
-rw-r--r--freeswitch-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/freeswitch-model.lua b/freeswitch-model.lua
index d4bf837..56b1f05 100644
--- a/freeswitch-model.lua
+++ b/freeswitch-model.lua
@@ -63,7 +63,7 @@ end
mymodule.list_files = function()
local retval = {}
for file in fs.find(null, baseurl) do
- local details = fs.stat(file)
+ local details = posix.stat(file)
if details.type == "regular" then
details.filename = file
table.insert(retval, details)