Diff for /loncom/auth/lonracc.pm between versions 1.20 and 1.21

version 1.20, 2007/02/01 07:13:04 version 1.21, 2007/03/02 23:17:48
Line 39  sub subscribed { Line 39  sub subscribed {
   
     return 0 if (!-e "$filename.subscription");      return 0 if (!-e "$filename.subscription");
   
     my $hostname=$Apache::lonnet::hostname{$id};      my $hostname=&Apache::lonnet::hostname($id);
     my (undef,undef,undef,undef,$ip) = gethostbyname($hostname);      my (undef,undef,undef,undef,$ip) = gethostbyname($hostname);
           
     return 0 if (length($ip) != 4);      return 0 if (length($ip) != 4);

Removed from v.1.20  
changed lines
  Added in v.1.21


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