Skip to content

Commit 06c1851

Browse files
committed
Fix dialyzer error
1 parent b474d67 commit 06c1851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xmpp_stream_in.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ get_fast_tokens_fun(Mech, State) ->
14141414
catch _:{?MODULE, undef} -> fun(_, _) -> [] end
14151415
end.
14161416

1417-
-spec get_sasl_mechanisms(state(), sasl | sasl2) -> {[xmpp_sasl:mechanism()], state()}.
1417+
-spec get_sasl_mechanisms(state(), sasl | sasl2) -> [xmpp_sasl:mechanism()].
14181418
get_sasl_mechanisms(#{stream_encrypted := Encrypted,
14191419
xmlns := NS} = State, Type) ->
14201420
Mechs = if NS == ?NS_CLIENT -> xmpp_sasl:listmech();

0 commit comments

Comments
 (0)