24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02: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; fast_tls -> tls;
ezlib -> ezlib ->
case ezlib:get_sockmod(Socket) of case ezlib:get_sockmod(Socket) of
tcp -> tcp_zlib; gen_tcp -> tcp_zlib;
tls -> tls_zlib fast_tls -> tls_zlib
end; end;
ejabberd_bosh -> http_bind; ejabberd_bosh -> http_bind;
ejabberd_http_bind -> http_bind; ejabberd_http_bind -> http_bind;