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 (from parent 1:
6e77999
)
Pass $udata into callbacks.
author
Mike Taylor
<mike@indexdata.com>
Thu, 12 Oct 2006 14:34:59 +0000
(14:34 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 12 Oct 2006 14:34:59 +0000
(14:34 +0000)
lib/ZOOM/IRSpy.pm
patch
|
blob
|
history
diff --git
a/lib/ZOOM/IRSpy.pm
b/lib/ZOOM/IRSpy.pm
index
64c1d4d
..
1abb785
100644
(file)
--- a/
lib/ZOOM/IRSpy.pm
+++ b/
lib/ZOOM/IRSpy.pm
@@
-1,4
+1,4
@@
-# $Id: IRSpy.pm,v 1.26 2006-10-12 11:06:03 mike Exp $
+# $Id: IRSpy.pm,v 1.27 2006-10-12 14:34:59 mike Exp $
package ZOOM::IRSpy;
package ZOOM::IRSpy;
@@
-367,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) {
@@
-375,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) {