projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extraneous comment.
[irspy-moved-to-github.git]
/
lib
/
ZOOM
/
IRSpy.pm
diff --git
a/lib/ZOOM/IRSpy.pm
b/lib/ZOOM/IRSpy.pm
index
bbf251d
..
1abb785
100644
(file)
--- a/
lib/ZOOM/IRSpy.pm
+++ b/
lib/ZOOM/IRSpy.pm
@@
-1,4
+1,4
@@
-# $Id: IRSpy.pm,v 1.25 2006-10-11 16:44:04 mike Exp $
+# $Id: IRSpy.pm,v 1.27 2006-10-12 14:34:59 mike Exp $
package ZOOM::IRSpy;
package ZOOM::IRSpy;
@@
-7,6
+7,8
@@
use strict;
use warnings;
use Data::Dumper; # For debugging only
use warnings;
use Data::Dumper; # For debugging only
+use ZOOM;
+use Net::Z3950::ZOOM 1.13; # For the ZOOM version-check only
use ZOOM::IRSpy::Node;
use ZOOM::IRSpy::Connection;
use ZOOM::IRSpy::Record;
use ZOOM::IRSpy::Node;
use ZOOM::IRSpy::Connection;
use ZOOM::IRSpy::Record;
@@
-365,7
+367,7
@@
sub check {
if ($@) {
my $sub = $task->{cb}->{exception};
die $@ if !defined $sub;
if ($@) {
my $sub = $task->{cb}->{exception};
die $@ if !defined $sub;
- $res = &$sub($conn, $task, $@);
+ $res = &$sub($conn, $task, $task->udata(), $@);
} else {
my $sub = $task->{cb}->{$ev};
if (!defined $sub) {
} else {
my $sub = $task->{cb}->{$ev};
if (!defined $sub) {
@@
-373,7
+375,7
@@
sub check {
next;
}
next;
}
- $res = &$sub($conn, $task, $ev);
+ $res = &$sub($conn, $task, $task->udata(), $ev);
}
if ($res == ZOOM::IRSpy::Status::OK) {
}
if ($res == ZOOM::IRSpy::Status::OK) {