[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Thu Jan 16 23:51:34 EST 2020
raeburn Fri Jan 17 04:51:34 2020 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- Include known domain as first arg in calls to &get_server_loncaparev().
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1416 loncom/lonnet/perl/lonnet.pm:1.1417
--- loncom/lonnet/perl/lonnet.pm:1.1416 Sun Aug 25 02:43:21 2019
+++ loncom/lonnet/perl/lonnet.pm Fri Jan 17 04:51:33 2020
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1416 2019/08/25 02:43:21 raeburn Exp $
+# $Id: lonnet.pm,v 1.1417 2020/01/17 04:51:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2261,7 +2261,7 @@
if ($homeserver ne '') {
unless ($homeserver eq $perlvar{'lonHostID'}) {
if ($srch->{'srchby'} eq 'email') {
- my $lcrev = &get_server_loncaparev(undef,$homeserver);
+ my $lcrev = &get_server_loncaparev($udom,$homeserver);
my ($major,$minor) = ($lcrev =~ /^\'?(\d+)\.(\d+)\.[\w.\-]+\'?$/);
if (($major eq '' && $minor eq '') || ($major < 2) ||
(($major == 2) && ($minor < 12))) {
@@ -2312,7 +2312,7 @@
if (&host_domain($tryserver) eq $dom) {
unless ($tryserver eq $perlvar{'lonHostID'}) {
if ($srch->{'srchby'} eq 'email') {
- my $lcrev = &get_server_loncaparev(undef,$tryserver);
+ my $lcrev = &get_server_loncaparev($dom,$tryserver);
my ($major,$minor) = ($lcrev =~ /^\'?(\d+)\.(\d+)\.[\w.\-]+\'?$/);
next if (($major eq '' && $minor eq '') || ($major < 2) ||
(($major == 2) && ($minor < 12)));
More information about the LON-CAPA-cvs
mailing list