25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

fix compilation warning

SVN Revision: 2601
This commit is contained in:
Christophe Romain 2009-09-18 13:29:08 +00:00
parent 719aff1088
commit 970973cb9a

View File

@ -401,10 +401,8 @@ handle_sync_event(#http_put{rid = Rid},
?DEBUG("Shaper timer for RID ~p: ~p", [Rid, Reply]),
{reply, Reply, StateName, StateData};
handle_sync_event(#http_put{rid = Rid, attrs = Attrs,
payload_size = PayloadSize,
hold = Hold} = Request,
From, StateName, StateData) ->
handle_sync_event(#http_put{payload_size = PayloadSize} = Request,
_From, StateName, StateData) ->
?DEBUG("New request: ~p",[Request]),
%% Updating trafic shaper
{NewShaperState, NewShaperTimer} =