--- loncom/LondConnection.pm 2006/03/03 20:06:22 1.40 +++ loncom/LondConnection.pm 2006/08/25 21:20:11 1.42 @@ -1,7 +1,7 @@ # This module defines and implements a class that represents # a connection to a lond daemon. # -# $Id: LondConnection.pm,v 1.40 2006/03/03 20:06:22 albertel Exp $ +# $Id: LondConnection.pm,v 1.42 2006/08/25 21:20:11 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -297,8 +297,7 @@ sub new { return undef; } - } - else { + } else { # Remote peer: I'd like to do ssl, but if my host key or certificates # are not all installed, my only choice is insecure, if that's # allowed: @@ -333,7 +332,6 @@ sub new { # # Set socket to nonblocking I/O. # - my $socket = $self->{Socket}; my $flags = fcntl($socket, F_GETFL,0); if(!$flags) { $socket->close; @@ -1147,7 +1145,7 @@ this iterator returns a reference to an information read from the hosts configuration file. Array elements are used as follows: - [0] - LonCapa host name. + [0] - LonCapa host id. [1] - LonCapa domain name. [2] - Loncapa role (e.g. library or access). [3] - DNS name server hostname.