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

version 1.19, 2007/02/01 06:31:33 version 1.21, 2007/03/02 23:17:48
Line 37  use IO::Socket; Line 37  use IO::Socket;
 sub subscribed {  sub subscribed {
     my ($filename,$id) = @_;      my ($filename,$id) = @_;
   
     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.19  
changed lines
  Added in v.1.21


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