aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/media.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/media.erl b/server/media.erl
index 7e84b28..cbd9328 100644
--- a/server/media.erl
+++ b/server/media.erl
@@ -1,5 +1,5 @@
-module(media).
--export([init/0,insert/3, ask/2, all/0, play/3, vote/2, devote/2]).
+-export([init/0,insert/3, ask/2, all/0, play/3, vote/2, devote/2, lock_process/2]).
-define(TESTPATTERN, "../ac/*.mp3").
-define(TIMEOUT, 10000).
@@ -137,7 +137,7 @@ unlock(Artist, Title) ->
end,
mnesia:transaction(F).
-lock_prozess(Artist, Title) ->
+lock_process(Artist, Title) ->
lock(Artist, Title),
receive