X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=lib%2FNet%2FZ3950%2FZOOM.pm;h=52f285a0eefd94012a9b2572b62ba1f29152332c;hb=ecb94605d43a3c7fad1d2c554edd4ebaabc464b6;hp=fda0107b1b155ab1c9a65af4d34cdb02fd69475b;hpb=e3875da6800cd69ee272ff4e607378fa8e2dbca4;p=ZOOM-Perl-moved-to-github.git diff --git a/lib/Net/Z3950/ZOOM.pm b/lib/Net/Z3950/ZOOM.pm index fda0107..52f285a 100644 --- a/lib/Net/Z3950/ZOOM.pm +++ b/lib/Net/Z3950/ZOOM.pm @@ -1,4 +1,4 @@ -# $Id: ZOOM.pm,v 1.16 2006-04-07 12:05:41 mike Exp $ +# $Id: ZOOM.pm,v 1.19 2006-04-19 20:11:45 mike Exp $ package Net::Z3950::ZOOM; @@ -6,7 +6,7 @@ use 5.008; use strict; use warnings; -our $VERSION = '1.05'; +our $VERSION = '1.06'; require XSLoader; XSLoader::load('Net::Z3950::ZOOM', $VERSION); @@ -52,7 +52,7 @@ sub EVENT_SEND_APDU { 6 } sub EVENT_RECV_APDU { 7 } sub EVENT_RECV_RECORD { 8 } sub EVENT_RECV_SEARCH { 9 } -sub EVENT_RECV_END { 10 } # In YAZ 2.1.17 and later +sub EVENT_END { 10 } # In YAZ 2.1.17 and later =head1 NAME @@ -111,8 +111,8 @@ sub event_str { return "receive record"; } elsif ($code == EVENT_RECV_SEARCH) { return "receive search"; - } elsif ($code == EVENT_RECV_END) { - return "receive end"; + } elsif ($code == EVENT_END) { + return "end"; } return "impossible event " . $code; }