Skip to content

Commit

Permalink
remove obsolete guard
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schultz committed Aug 15, 2011
1 parent d784a74 commit 2d7f6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netlink.erl
Expand Up @@ -664,7 +664,7 @@ sockaddr_nl({Family, Pid, Groups}) when is_atom(Family) ->
sockaddr_nl({gen_socket:family(Family), Pid, Groups}); sockaddr_nl({gen_socket:family(Family), Pid, Groups});
sockaddr_nl({Family, Pid, Groups}) -> sockaddr_nl({Family, Pid, Groups}) ->
<< Family:8, 0:8, Pid:32, Groups:32 >>; << Family:8, 0:8, Pid:32, Groups:32 >>;
sockaddr_nl(<< Family:8, _Pad:8, Pid:32, Groups:32 >> = Bin) when is_binary(Bin) -> sockaddr_nl(<< Family:8, _Pad:8, Pid:32, Groups:32 >>) ->
{gen_socket:family(Family), Pid, Groups}. {gen_socket:family(Family), Pid, Groups}.


setsockoption(Socket, Level, OptName, Val) when is_atom(Level) -> setsockoption(Socket, Level, OptName, Val) when is_atom(Level) ->
Expand Down

0 comments on commit 2d7f6fc

Please sign in to comment.