[LON-CAPA-cvs] cvs: loncom / lond

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 27 Jun 2005 14:16:32 -0000


albertel		Mon Jun 27 10:16:32 2005 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - style updates
  
  
Index: loncom/lond
diff -u loncom/lond:1.287 loncom/lond:1.288
--- loncom/lond:1.287	Mon Jun 27 06:27:02 2005
+++ loncom/lond	Mon Jun 27 10:16:30 2005
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.287 2005/06/27 10:27:02 foxr Exp $
+# $Id: lond,v 1.288 2005/06/27 14:16:30 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -58,7 +58,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.287 $'; #' stupid emacs
+my $VERSION='$Revision: 1.288 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -1835,12 +1835,10 @@
 		&logthis("Result of password change for $uname: ".$result);
 		if ($result eq "ok") {
 		    &Reply($client, "$result\n")
-		}
-		else {
+		} else {
 		    &Failure($client, "$result\n");
 		}
-	    }
-	    else {
+	    } else {
 		my $result=&make_passwd_file($uname, $umode,$npass,$passfilename);
 		#
 		#  If the current auth mode is internal, and the old auth mode was