From: Mike Taylor Date: Wed, 11 Oct 2006 16:47:44 +0000 (+0000) Subject: Simplify X-Git-Tag: CPAN-v1.02~987 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=2f0b70c623d22254ecba491f8888b9001e12e017;p=irspy-moved-to-github.git Simplify --- diff --git a/lib/ZOOM/IRSpy/Task/Connect.pm b/lib/ZOOM/IRSpy/Task/Connect.pm index 1bfb8c4..e850681 100644 --- a/lib/ZOOM/IRSpy/Task/Connect.pm +++ b/lib/ZOOM/IRSpy/Task/Connect.pm @@ -1,4 +1,4 @@ -# $Id: Connect.pm,v 1.1 2006-10-06 11:33:08 mike Exp $ +# $Id: Connect.pm,v 1.2 2006-10-11 16:47:44 mike Exp $ # See ZOOM/IRSpy/Task/Search.pm for documentation @@ -21,13 +21,7 @@ sub run { my $this = shift(); my $conn = $this->conn(); - $this->irspy()->log("irspy_test", $conn->option("host"), - " connecting"); - # Actually, connections have already been connected. Redoing this - # won't hurt -- in fact, it's a no-op. But because it's a no-op, - # it doesn't cause any events, which means that the very next call - # of ZOOM::event() will return 0, and IRSpy will fall through the - # event loop. Not good. Not sure how to fix this. + $conn->log("irspy_test", "connecting"); $conn->connect($conn->option("host")); }