X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=lib%2FZOOM%2FIRSpy%2FTest%2FPing.pm;h=e230b3b5b2a0b9b55a035f0ea83a1a16443d8304;hp=12c3455231ae87c4a14b8d60dc20fec331396d43;hb=2cc46ad267fe6ad2be571fc2e856de16ff8cdb4e;hpb=5bfd85dd260c144d16d5cf5da0ac690432777c87 diff --git a/lib/ZOOM/IRSpy/Test/Ping.pm b/lib/ZOOM/IRSpy/Test/Ping.pm index 12c3455..e230b3b 100644 --- a/lib/ZOOM/IRSpy/Test/Ping.pm +++ b/lib/ZOOM/IRSpy/Test/Ping.pm @@ -1,4 +1,4 @@ -# $Id: Ping.pm,v 1.25 2007-05-04 12:09:58 mike Exp $ +# $Id: Ping.pm,v 1.27 2007-05-09 11:19:36 mike Exp $ # See the "Main" test package for documentation @@ -25,9 +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"); - warn "user='$user', password='$password'\n"; - $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,