X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FPing.pm;h=31b7f4d30296d8f3e9c58e7b5e95643bc0927598;hb=b85e17784cf8c8bdcebaddb0fdd7ad2ba5d726e0;hp=4251b597cdb5b858344294b0d7ca4b8cc013c89d;hpb=b67e282929bc8d2fb810296eec133b0712359bfd;p=irspy-moved-to-github.git diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index 4251b59..31b7f4d 100644 --- a/lib/ZOOM/IRSpy/Test/Ping.pm +++ b/lib/ZOOM/IRSpy/Test/Ping.pm @@ -1,4 +1,3 @@ -# $Id: Ping.pm,v 1.26 2007-05-08 12:18:59 mike Exp $ # See the "Main" test package for documentation @@ -25,8 +24,8 @@ sub start { my $xc = $conn->record()->xpath_context(); my $user = $xc->find("e:serverInfo/e:authentication/e:user"); my $password = $xc->find("e:serverInfo/e:authentication/e:password"); - $options{user} = $user if $user; - $options{password} = $password if $password; + $options{"*user"} = $user if $user; + $options{"*password"} = $password if $password; $conn->irspy_connect(undef, \%options, ZOOM::Event::ZEND, \&connected, @@ -89,7 +88,7 @@ sub connected { sub not_connected { my($conn, $__UNUSED_task, $__UNUSED_udata, $exception) = @_; - $conn->log("irspy_test", "not connected: $exception"); + $conn->log("irspy", "not connected: $exception"); $conn->record()->store_result("probe", ok => 0, errcode => $exception->code(),