Unnecessary comments removed. Tcp comments are left to verify program correctness

This commit is contained in:
Kallfaktorn 2011-04-20 06:29:15 +02:00
parent 078ba9979e
commit c8e6bebce7
2 changed files with 0 additions and 31 deletions

View file

@ -42,11 +42,9 @@ received_command(Headers, Data) ->
Command = lists:nth(1, CommandList),
case Command of
"hello" ->
io:format("Set game token~n"),
pong_bot:set_game_token(Data),
send_command("ready", "");
"defined" ->
io:format("Defined~n"),
ok;
Command ->
pong_bot:ggsNetworkReceivedCommandWithArgs(Command, Data)
@ -88,20 +86,6 @@ extract_headers(Source) ->
HeaderList = string:tokens(Source, "\n"),
key_value_strings_to_dict(HeaderList).
%extract_data([]) ->
% [];
%extract_data([E|ES]) ->
% io:format("~n~s~n~n~n~n", [E]),
% KeyValueList = key_value_string_to_list(E),
% case length(KeyValueList) of
% 2 ->
% extract_data(ES);
% _ ->
% E
% end.
%%%Low-level internals.%%%