summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2009-09-18 13:29:08 +0000
committerChristophe Romain <christophe.romain@process-one.net>2009-09-18 13:29:08 +0000
commit970973cb9ad12bd6d12d6bc03b03a7b7fcdd50ce (patch)
treefcc61d50cedbd2752bd8babda5b12b91c2caa92e /src
parentReturn terminal binding condition on max stanza size limit (thanks to Aleksey) (diff)
fix compilation warning
SVN Revision: 2601
Diffstat (limited to 'src')
-rw-r--r--src/web/ejabberd_http_bind.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/web/ejabberd_http_bind.erl b/src/web/ejabberd_http_bind.erl
index 550cef6d..bfe68195 100644
--- a/src/web/ejabberd_http_bind.erl
+++ b/src/web/ejabberd_http_bind.erl
@@ -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} =