X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FPing.pm;h=bc915db891e9eedb64a5cf8d662b2aac954b42cc;hp=4251b597cdb5b858344294b0d7ca4b8cc013c89d;hb=7281d51e7e9f3ea6681a0109d97abf8dab646870;hpb=b67e282929bc8d2fb810296eec133b0712359bfd diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index 4251b59..bc915db 100644 --- a/lib/ZOOM/IRSpy/Test/Ping.pm +++ b/lib/ZOOM/IRSpy/Test/Ping.pm @@ -1,4 +1,4 @@ -# $Id: Ping.pm,v 1.26 2007-05-08 12:18:59 mike Exp $ +# $Id: Ping.pm,v 1.28 2008-07-16 11:51:09 mike Exp $ # See the "Main" test package for documentation @@ -25,8 +25,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 +89,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(),