[libanyevent-rabbitmq-perl] 17/151: Fixed a bug.
Damyan Ivanov
dmn at moszumanska.debian.org
Thu Jan 16 11:03:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to annotated tag debian/1.12-1
in repository libanyevent-rabbitmq-perl.
commit d55edfbe090ad7adf3e5bec3197f6e7b714f0e36
Author: cooldaemon <cooldaemon at gmail.com>
Date: Thu Feb 11 14:20:15 2010 +0900
Fixed a bug.
---
lib/AnyEvent/RabbitMQ/Channel.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/AnyEvent/RabbitMQ/Channel.pm b/lib/AnyEvent/RabbitMQ/Channel.pm
index aab1ab7..2ba63b2 100644
--- a/lib/AnyEvent/RabbitMQ/Channel.pm
+++ b/lib/AnyEvent/RabbitMQ/Channel.pm
@@ -88,7 +88,7 @@ sub close {
return $self->_close(%args) if 0 == $self->count_consumer_cbs;
for my $consumer_tag ($self->consumer_tags) {
- $self->cancel({
+ $self->cancel(
consumer_tag => $consumer_tag,
on_success => sub {
$self->_close(%args);
@@ -97,7 +97,7 @@ sub close {
$self->_close(%args);
$args{on_failure}->(@_);
}
- });
+ );
}
return $self;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-rabbitmq-perl.git
More information about the Pkg-perl-cvs-commits
mailing list