25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

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

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;