[LON-CAPA-cvs] cvs: loncom(version_2_11_X) / loncnew

raeburn raeburn at source.lon-capa.org
Sun Sep 2 11:57:16 EDT 2018


raeburn		Sun Sep  2 15:57:16 2018 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom	loncnew 
  Log:
  - For 2.11
    Backport 1.102, 1.103, 1.104
  
  
Index: loncom/loncnew
diff -u loncom/loncnew:1.100 loncom/loncnew:1.100.10.1
--- loncom/loncnew:1.100	Fri Jun 17 17:41:37 2011
+++ loncom/loncnew	Sun Sep  2 15:57:16 2018
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # lonc maintains the connections to remote computers
 #
-# $Id: loncnew,v 1.100 2011/06/17 17:41:37 raeburn Exp $
+# $Id: loncnew,v 1.100.10.1 2018/09/02 15:57:16 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -611,7 +611,7 @@
 	StartClientReply($Transaction, $data);
     } else {			# Delete deferred transaction file.
 	Log("SUCCESS", "A delayed transaction was completed");
-	LogPerm("S:".$Transaction->getClient().":".$Transaction->getRequest());
+	LogPerm("S:".$Socket->PeerLoncapaHim().":".$Transaction->getRequest());
 	unlink($Transaction->getFile());
     }
 }
@@ -2233,8 +2233,8 @@
 }
 
 sub my_hostname {
-    use Sys::Hostname;
-    my $name = &hostname();
+    use Sys::Hostname::FQDN();
+    my $name = Sys::Hostname::FQDN::fqdn();
     &Debug(9,"Name is $name");
     return $name;
 }




More information about the LON-CAPA-cvs mailing list