summaryrefslogtreecommitdiff
path: root/nopsyncd/tcpserver.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-03-21 15:27:07 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-03-21 15:27:07 (GMT)
commit46348e1cd2782a701134b030be7452910ba2c46e (patch)
treedb5dad68ca369d55380b4dc4a59ebc0ba223b3bb /nopsyncd/tcpserver.lua
parenta57ad1b134763b55f9dcc0a63e6995a66bcc2a7d (diff)
moved sqlite based tempstorage to mysql based playlog
Diffstat (limited to 'nopsyncd/tcpserver.lua')
-rwxr-xr-xnopsyncd/tcpserver.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/nopsyncd/tcpserver.lua b/nopsyncd/tcpserver.lua
index 3f7c70a..7530ff2 100755
--- a/nopsyncd/tcpserver.lua
+++ b/nopsyncd/tcpserver.lua
@@ -20,7 +20,7 @@
--
require "socket"
-tempstorage = require "tempstorage"
+playlog = require "playlog"
function init_server()
local server = assert(socket.tcp())
@@ -86,9 +86,9 @@ end
function main_loop()
local pipefd = pipe.getreadfd()
- local ret, err = tempstorage:init()
+ local ret, err = playlog:init()
if ret == nil then
- io.stderr:write("creation of tempstorage failed: " .. err .. "\n")
+ io.stderr:write("creation of playlog failed: " .. err .. "\n")
os.exit(1)
end
@@ -133,7 +133,7 @@ function main_loop()
end
end
- tempstorage:close()
+ playlog:close()
server:close()
cleanup_clients()