Diff for /loncom/lonnet/perl/lonnet.pm between versions 1.865 and 1.866

version 1.865, 2007/04/04 18:01:11 version 1.866, 2007/04/05 22:04:49
Line 756  sub get_dom { Line 756  sub get_dom {
     }      }
     if ($udom && $uhome && ($uhome ne 'no_host')) {      if ($udom && $uhome && ($uhome ne 'no_host')) {
         my $rep=&reply("getdom:$udom:$namespace:$items",$uhome);          my $rep=&reply("getdom:$udom:$namespace:$items",$uhome);
           my %returnhash;
           if ($rep =~ /^error: 2 /) {
               return %returnhash;
           }
         my @pairs=split(/\&/,$rep);          my @pairs=split(/\&/,$rep);
         if ( $#pairs==0 && $pairs[0] =~ /^(con_lost|error|no_such_host)/i) {          if ( $#pairs==0 && $pairs[0] =~ /^(con_lost|error|no_such_host)/i) {
             return @pairs;              return @pairs;

Removed from v.1.865  
changed lines
  Added in v.1.866


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>