summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-07-23 17:57:50 +0100
committerSimon MacMullen <simon@rabbitmq.com>2013-07-23 17:57:50 +0100
commitac1a06c4b144316b397f0ffb1582063fe0723e5e (patch)
treeb07decc8524430d1b880768d234504020dbd1570
parent82eae6e36d941af201aab2e49e1fc13002b8dccf (diff)
downloadrabbitmq-server-ac1a06c4b144316b397f0ffb1582063fe0723e5e.tar.gz
Oops, missed one.
-rw-r--r--src/rabbit_writer.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_writer.erl b/src/rabbit_writer.erl
index 3e966e16..78c117e8 100644
--- a/src/rabbit_writer.erl
+++ b/src/rabbit_writer.erl
@@ -146,7 +146,7 @@ mainloop1(Deb, State = #wstate{pending = []}) ->
Message -> {Deb1, State1} = handle_message(Deb, Message, State),
?MODULE:mainloop1(Deb1, State1)
after ?HIBERNATE_AFTER ->
- erlang:hibernate(?MODULE, mainloop, [State])
+ erlang:hibernate(?MODULE, mainloop, [Deb, State])
end;
mainloop1(Deb, State) ->
receive