[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Wed, 13 Jun 2007 03:01:00 -0000


albertel		Tue Jun 12 23:01:00 2007 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - machine_ids, wants the hostname that you want ids for
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.889 loncom/lonnet/perl/lonnet.pm:1.890
--- loncom/lonnet/perl/lonnet.pm:1.889	Tue Jun 12 22:21:54 2007
+++ loncom/lonnet/perl/lonnet.pm	Tue Jun 12 23:00:59 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.889 2007/06/13 02:21:54 albertel Exp $
+# $Id: lonnet.pm,v 1.890 2007/06/13 03:00:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -149,7 +149,7 @@
 				     Type    => SOCK_STREAM,
 				     Timeout => 10);
     return 0 if (!$client);
-    print $client (join(':',$hostname,$lonid,&machine_ids($lonid))."\n");
+    print $client (join(':',$hostname,$lonid,&machine_ids($hostname))."\n");
     my $result = <$client>;
     chomp($result);
     return 1 if ($result eq 'done');