Permalink
Browse files

Merge pull request #7 from RumataEstor/3e7b230d640e824b273e331068358e…

…d81c77f7a3

typo fix
  • Loading branch information...
2 parents 621a6f8 + 3e7b230 commit be7692066b29fd90744060ff6edbe53d2410159e @paulgray paulgray committed Jan 25, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/lhttpc.erl
  2. +1 −1 src/lhttpc_manager.erl
View
@@ -392,7 +392,7 @@ send_body_part({Pid, Window}, IoList, _Timeout) when Window > 0, is_pid(Pid) ->
receive
{ack, Pid} ->
{ok, {Pid, Window}};
- {reponse, Pid, R} ->
+ {response, Pid, R} ->
R;
{exit, Pid, Reason} ->
exit(Reason);
View
@@ -177,7 +177,7 @@ find_socket({_, _, Ssl} = Dest, Pid, State) ->
case lhttpc_sock:controlling_process(Socket, Pid, Ssl) of
ok ->
{_, Timer} = dict:fetch(Socket, State#httpc_man.sockets),
- cancel_timer(Timer, Sockets),
+ cancel_timer(Timer, Socket),
NewState = State#httpc_man{
destinations = update_dest(Dest, Sockets, Dests),
sockets = dict:erase(Socket, State#httpc_man.sockets)

0 comments on commit be76920

Please sign in to comment.