--- loncom/lond	2007/01/19 02:58:17	1.357
+++ loncom/lond	2007/01/19 03:09:07	1.358
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.357 2007/01/19 02:58:17 albertel Exp $
+# $Id: lond,v 1.358 2007/01/19 03:09:07 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@ my $DEBUG = 0;		       # Non zero to ena
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.357 $'; #' stupid emacs
+my $VERSION='$Revision: 1.358 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -5895,7 +5895,7 @@ sub validate_user {
 					       $password, 
 					       $contentpwd,
 					       $domain);
-	    if ($validate < 0) {
+	    if ($validated < 0) {
 		&logthis("localauth for $contentpwd $user:$domain returned a $validated");
 		$validated = 0;
 	    }