[libnet-dbus-perl] 322/335: Fix toggling of timeouts in reactor

Intrigeri intrigeri at moszumanska.debian.org
Sat Mar 21 01:08:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit ae75cb872b79bbf08780aa699bb1d3eb9efb4212
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Mon Mar 16 18:47:34 2015 +0000

    Fix toggling of timeouts in reactor
    
    Fixes RT #86392
---
 lib/Net/DBus/Reactor.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Net/DBus/Reactor.pm b/lib/Net/DBus/Reactor.pm
index 778029b..edefaeb 100644
--- a/lib/Net/DBus/Reactor.pm
+++ b/lib/Net/DBus/Reactor.pm
@@ -225,7 +225,7 @@ sub manage {
 	    my $timeout = shift;
 	
 	    my $key = $timeout->get_data;
-	    $self->remove_timeout($key,
+	    $self->toggle_timeout($key,
 				  $timeout->is_enabled,
 				  $timeout->get_interval);
 	});

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git



More information about the Pkg-perl-cvs-commits mailing list