[libanyevent-handle-udp-perl] 40/60: Fix connect_to to actually work

Jonas Smedegaard js at alioth.debian.org
Mon Sep 30 10:05:44 UTC 2013


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

js pushed a commit to branch master
in repository libanyevent-handle-udp-perl.

commit a38741af75ace1d856841671ab6440117cdfac9b
Author: Leon Timmermans <fawaka at gmail.com>
Date:   Sun Jan 13 21:36:18 2013 +0100

    Fix connect_to to actually work
---
 Changes                    |    1 +
 lib/AnyEvent/Handle/UDP.pm |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index 086c1fb..8cf38d4 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,7 @@ Revision history for AnyEvent-Handle-UDP
 
 {{$NEXT}}
           Hopefully really fixed for old perl+old Socket.pm
+          Made connect_to actually work
 
 0.038     2012-12-12 23:19:16 Europe/Amsterdam
           Fix {,r,w}timeout_reset to actually work
diff --git a/lib/AnyEvent/Handle/UDP.pm b/lib/AnyEvent/Handle/UDP.pm
index 27bb167..b1bdeb9 100644
--- a/lib/AnyEvent/Handle/UDP.pm
+++ b/lib/AnyEvent/Handle/UDP.pm
@@ -222,7 +222,7 @@ sub _bind_to {
 
 sub connect_to {
 	my ($self, $addr) = @_;
-	return $self->($self->fh, $addr);
+	return $self->_connect_to($self->fh, $addr);
 }
 
 sub _connect_to {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-handle-udp-perl.git



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