Fix case clauses when using compression (#1431)(thanks to Evgeniy Khramtsov)

This commit is contained in:
Badlop 2016-12-29 15:18:42 +01:00
parent ed679279fd
commit c6b5dd6c4f
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ get_transport(#socket_state{sockmod = SockMod,
fast_tls -> tls;
ezlib ->
case ezlib:get_sockmod(Socket) of
tcp -> tcp_zlib;
tls -> tls_zlib
gen_tcp -> tcp_zlib;
fast_tls -> tls_zlib
end;
ejabberd_bosh -> http_bind;
ejabberd_http_bind -> http_bind;