From 5f7356c16c1aee304da00d15bc6456de6db890c9 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 16 Jun 2009 18:25:38 +0000 Subject: [PATCH] The Erlang/OTP function httpd_util:to_lower/1 is deprecated, and it is recommended to use string:to_lower/1 instead. SVN Revision: 2290 --- src/web/ejabberd_http_bind.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl index f366a7c1a..ac01ccb24 100644 --- a/src/web/ejabberd_http_bind.erl +++ b/src/web/ejabberd_http_bind.erl @@ -4,12 +4,12 @@ %%% Purpose : Implements XMPP over BOSH (XEP-0205) (formerly known as %%% HTTP Binding) %%% Created : 21 Sep 2005 by Stefan Strigler -%%% 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",