From 8db258f86776ee4d7049c59e81c319f05cd292fc Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 11 Oct 2006 16:47:44 +0000 Subject: [PATCH] Simplify --- lib/ZOOM/IRSpy/Task/Connect.pm | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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")); } -- 1.7.10.4