From: Mike Taylor Date: Wed, 11 Oct 2006 16:47:44 +0000 (+0000) Subject: Simplify X-Git-Tag: CPAN-v1.02~54^2~932 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=8db258f86776ee4d7049c59e81c319f05cd292fc 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")); }