projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc9bbb8
)
Simplify
author
Mike Taylor
<mike@indexdata.com>
Wed, 11 Oct 2006 16:47:44 +0000
(16:47 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 11 Oct 2006 16:47:44 +0000
(16:47 +0000)
lib/ZOOM/IRSpy/Task/Connect.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy/Task/Connect.pm
b/lib/ZOOM/IRSpy/Task/Connect.pm
index
1bfb8c4
..
e850681
100644
(file)
--- 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
# See ZOOM/IRSpy/Task/Search.pm for documentation
@@
-21,13
+21,7
@@
sub run {
my $this = shift();
my $conn = $this->conn();
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"));
}
$conn->connect($conn->option("host"));
}