summaryrefslogtreecommitdiffstats
path: root/vmail-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-09-14 08:46:57 +0000
committerTed Trask <ttrask01@yahoo.com>2010-09-14 08:46:57 +0000
commit4929dbf13571074ce9bc0bf01bd34893da912d73 (patch)
tree4c968ac9358de0930a72d4a03a8d8319e768d34f /vmail-model.lua
parentec7fe63cbc9692f36bbadb9bd1234e3069d058dd (diff)
downloadacf-freeswitch-vmail-4929dbf13571074ce9bc0bf01bd34893da912d73.tar.bz2
acf-freeswitch-vmail-4929dbf13571074ce9bc0bf01bd34893da912d73.tar.xz
For some reason, reporting a length messed up the downloaded filename.
Diffstat (limited to 'vmail-model.lua')
-rw-r--r--vmail-model.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/vmail-model.lua b/vmail-model.lua
index a9eeb59..39b6041 100644
--- a/vmail-model.lua
+++ b/vmail-model.lua
@@ -355,7 +355,6 @@ get_message = function(message, username)
else
retval.label = posix.basename(tmp[1].file_path)
retval.value = fs.read_file(tmp[1].file_path)
- retval.length = #retval.value
end
end)
if not res and err then