esl/ejabberd — pull request #59 by IgorKarymov (2012-10-06 13:43:41+00:00)
Title: fix errors found with dialyzer

Hi all. I fix some errors:

src/ejabberd_auth.erl:297: The call erlang:list_to_binary({_,_}) will never return since it differs in the 1st argument from the success typing arguments: (maybe_impr\
oper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []))

src/ejabberd_auth.erl:368: The variable _ can never match since previous clauses completely covered the type 'ok'

src/ejabberd_auth.erl:398: The call erlang:list_to_binary(binary()) will never return since it differs in the 1st argument from the success typing arguments: (maybe_i\
mproper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []))

src/ejabberd_s2s_out.erl:1079: The pattern [] can never match the type [{byte(),byte(),byte(),byte()} | {char(),char(),char(),char(),char(),char(),char(),char()},...]