aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJakob Pfender <jpfender@zedat.fu-berlin.de>2010-10-14 10:34:39 +0200
committerJakob Pfender <jpfender@zedat.fu-berlin.de>2010-10-14 10:34:39 +0200
commit2a672cf96dc272213a36d15f78ec19b6579de4df (patch)
tree905cc6e968cf7843139ddf6e594ddcacb3b4a541 /client
parenta31253b510636f48c7a50a54106dcb248028cf34 (diff)
downloaderlang-2a672cf96dc272213a36d15f78ec19b6579de4df.tar.gz
erlang-2a672cf96dc272213a36d15f78ec19b6579de4df.tar.xz
erlang-2a672cf96dc272213a36d15f78ec19b6579de4df.zip
'server is unboun' fixed
Diffstat (limited to 'client')
-rw-r--r--client/client.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.erl b/client/client.erl
index 85f0e9d..67be4ee 100644
--- a/client/client.erl
+++ b/client/client.erl
@@ -74,7 +74,7 @@ handle(Cmd, Server) ->
{{error, {unknown_command, Cmd}}, Server}.
%queries the server for the current votes this client possesses
-getVotes() ->
+getVotes(Server) ->
rpc(Server, getVotes, self()),
receive
Msg ->