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:
298ce31
)
Do not go back into main loop if peek_event() is either 0 or ZEND.
author
Mike Taylor
<mike@indexdata.com>
Tue, 13 Feb 2007 15:02:35 +0000
(15:02 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 13 Feb 2007 15:02:35 +0000
(15:02 +0000)
lib/ZOOM/IRSpy.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy.pm
b/lib/ZOOM/IRSpy.pm
index
6788402
..
03952fe
100644
(file)
--- a/
lib/ZOOM/IRSpy.pm
+++ b/
lib/ZOOM/IRSpy.pm
@@
-1,4
+1,4
@@
-# $Id: IRSpy.pm,v 1.59 2007-02-09 10:44:25 mike Exp $
+# $Id: IRSpy.pm,v 1.60 2007-02-13 15:02:35 mike Exp $
package ZOOM::IRSpy;
@@
-509,7
+509,7
@@
sub check {
$finished = 0;
}
my $ev = $conn->peek_event();
- if ($ev != 0) { # Or ZOOM::Event::ZEND?
+ if ($ev != 0 && $ev != ZOOM::Event::ZEND) {
my $evstr = ZOOM::event_str($ev);
$this->log("irspy", "$conn has event $ev ($evstr) waiting");
$finished = 0;