Dusplay proxy
[irspy-moved-to-github.git] / bin / test-zoom.pl
index 9978ce2..faa6b70 100644 (file)
@@ -1,6 +1,4 @@
-#!/usr/bin/perl -w
-
-# $Id: test-zoom.pl,v 1.1 2006-07-19 11:40:26 mike Exp $
+#!/usr/bin/perl
 #
 # Run the same way as "test-pod.pl".  This is supposed to be an
 # exactly equivalent program but written using the ZOOM-Perl
@@ -34,7 +32,7 @@ while ((my $i = ZOOM::event(\@conn)) != 0) {
     my $ev = $conn->last_event();
     my $evstr = ZOOM::event_str($ev);
     ZOOM::Log::log("pod", "connection ", $i-1, ": event $ev ($evstr)");
-    $conn->_check();           # die if any errors occur
+    $conn->check();            # die if any errors occur
 
     if ($ev == ZOOM::Event::RECV_SEARCH) {
        $res = completed_search($conn, \%state, $rs{$conn}, $ev);