Skip to content

Commit

Permalink
adjusted how replies are stated
Browse files Browse the repository at this point in the history
  • Loading branch information
joewilliams committed Jan 10, 2009
1 parent 3673832 commit 09c3dab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/merle.erl
Expand Up @@ -213,7 +213,7 @@ memcache_cas(Key, Flag, ExpTime, CasUniq, Data) ->

%% Close the socket
memcache_quit() ->
gen_server:call(?SERVER, {quit}).
gen_server:call(?SERVER, {quit}).

%%--------------------------------------------------------------------
%%% Internal functions
Expand All @@ -222,7 +222,7 @@ memcache_quit() ->
send_cmd(Socket, Cmd) ->
gen_tcp:send(Socket, Cmd ++ "\r\n"),
Reply = recv_reply(),
io:format("~p~n", [Reply]).
Reply.

recv_reply() ->
receive
Expand Down

0 comments on commit 09c3dab

Please sign in to comment.