[LON-CAPA-cvs] cvs: loncom /auth lonracc.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Tue, 29 Oct 2002 18:34:33 -0000
matthew Tue Oct 29 13:34:33 2002 EDT
Modified files:
/loncom/auth lonracc.pm
Log:
Minor bug squish. Added forgotten '{'.
Index: loncom/auth/lonracc.pm
diff -u loncom/auth/lonracc.pm:1.6 loncom/auth/lonracc.pm:1.7
--- loncom/auth/lonracc.pm:1.6 Mon Oct 21 15:15:10 2002
+++ loncom/auth/lonracc.pm Tue Oct 29 13:34:33 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Access Handler for File Transfers
#
-# $Id: lonracc.pm,v 1.6 2002/10/21 19:15:10 bowersj2 Exp $
+# $Id: lonracc.pm,v 1.7 2002/10/29 18:34:33 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -56,7 +56,7 @@
if (!$reqhost && $r->get_remote_host(REMOTE_NOLOOKUP) eq $r->get_server_name()) {
$reqhost = $r->get_server_name();
}
- unless ($reqhost)
+ unless ($reqhost) {
$r->log_reason("Spoof request from ".$ENV{'REMOTE_ADDR'});
return FORBIDDEN;
}