esl/lhttpc — pull request #17 by fdmanana (2012-04-30 17:59:23+00:00)
Title: Fix dialyzer errors under OTP R15B01

$ make dialyzer
./rebar analyze
==> lhttpc-1 (analyze)
lhttpc_manager.erl:127: Call to missing or unexported function ssl:seed/1
lhttpc_manager.erl:221: The return type #httpc_man{max_pool_size::non_neg_integer(),timeout::non_neg_integer()} in the specification of code_change/3 is not a subtype of {'error',_} | {'ok',_}, which is the expected return type for the callback of gen_server behaviour
lhttpc_sup.erl:52: The return type {'ok',{{atom(),integer(),integer()},[{atom(),{atom(),atom(),['any']},atom(),integer(),atom(),[atom()]}]}} in the specification of init/1 is not a subtype of 'ignore' | {'ok',{{'one_for_all',non_neg_integer(),non_neg_integer()} | {'one_for_one',non_neg_integer(),non_neg_integer()} | {'rest_for_one',non_neg_integer(),non_neg_integer()} | {'simple_one_for_one',non_neg_integer(),non_neg_integer()},[{_,{atom() | tuple(),atom(),'undefined' | [any()]},'permanent' | 'temporary' | 'transient','brutal_kill' | 'infinity' | non_neg_integer(),'supervisor' | 'worker','dynamic' | [atom() | tuple()]}]}}, which is the expected return type for the callback of supervisor behaviour
$