mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
The Erlang/OTP function httpd_util:to_lower/1 is deprecated, and it is recommended to use string:to_lower/1 instead.
SVN Revision: 2227
This commit is contained in:
parent
51a55723cf
commit
a314cdf26f
@ -4,12 +4,12 @@
|
||||
%%% Purpose : Implements XMPP over BOSH (XEP-0205) (formerly known as
|
||||
%%% HTTP Binding)
|
||||
%%% Created : 21 Sep 2005 by Stefan Strigler <steve@zeank.in-berlin.de>
|
||||
%%% Id : $Id: ejabberd_http_bind.erl 389 2007-09-25 15:27:44Z sstrigler $
|
||||
%%% Id : $Id: ejabberd_http_bind.erl 403 2007-10-20 15:36:13Z badlop $
|
||||
%%%----------------------------------------------------------------------
|
||||
|
||||
-module(ejabberd_http_bind).
|
||||
-author('steve@zeank.in-berlin.de').
|
||||
-vsn('$Rev: 389 $').
|
||||
-vsn('$Rev: 403 $').
|
||||
|
||||
-behaviour(gen_fsm).
|
||||
|
||||
@ -328,7 +328,7 @@ handle_sync_event({http_put, Rid, Attrs, Payload, Hold, StreamTo},
|
||||
"" ->
|
||||
true;
|
||||
OldKey ->
|
||||
NextKey = httpd_util:to_lower(
|
||||
NextKey = string:to_lower(
|
||||
hex(binary_to_list(
|
||||
crypto:sha(Key)))),
|
||||
?DEBUG("Key/OldKey/NextKey: ~s/~s/~s",
|
||||
|
Loading…
Reference in New Issue
Block a user