summaryrefslogtreecommitdiff
path: root/src/rabbit_error_logger.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-05-20 06:25:28 +0100
committerMatthias Radestock <matthias@lshift.net>2009-05-20 06:25:28 +0100
commit5560bd99752526f0c8ab6f5fe145e052d7ab98be (patch)
tree12e90e652f8e1198f1cfb72bbdf7f1f1712b7233 /src/rabbit_error_logger.erl
parent244bd0da5e65d1e811930ec9566d6c20318aa4c7 (diff)
downloadrabbitmq-server-5560bd99752526f0c8ab6f5fe145e052d7ab98be.tar.gz
rationalise publish/route result types
Diffstat (limited to 'src/rabbit_error_logger.erl')
-rw-r--r--src/rabbit_error_logger.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_error_logger.erl b/src/rabbit_error_logger.erl
index dc5824f1..bc14fdb8 100644
--- a/src/rabbit_error_logger.erl
+++ b/src/rabbit_error_logger.erl
@@ -74,7 +74,7 @@ publish(_Other, _Format, _Data, _State) ->
ok.
publish1(RoutingKey, Format, Data, LogExch) ->
- {ok, _QueueNames} = rabbit_exchange:simple_publish(
+ {ok, _RoutingRes} = rabbit_exchange:simple_publish(
false, false, LogExch, RoutingKey, <<"text/plain">>,
list_to_binary(io_lib:format(Format, Data))),
ok.