Permalink
Browse files

Fix accidental variable match

  • Loading branch information...
1 parent db45875 commit 5f90259e4c1f7133eeffa5836c57c3f38bc58c22 @msantos committed Oct 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gen_icmp.erl
View
@@ -175,7 +175,7 @@ start_link(RawOpts, SockOpts) ->
start(RawOpts, SockOpts) ->
Pid = self(),
case gen_server:start(?MODULE, [Pid, RawOpts, SockOpts], []) of
- {ok, Pid} -> {ok, Pid};
+ {ok, Socket} -> {ok, Socket};
{error, Error} -> Error
end.

0 comments on commit 5f90259

Please sign in to comment.