changeset 298:1aa690671cd7 noffle

[svn] * src/client.c: Fix horror in authentication.
author bears
date Mon, 10 Feb 2003 18:28:30 +0000
parents 4dc7dabd9318
children 94ac4c72baf7
files ChangeLog src/client.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jan 31 15:37:32 2003 +0000
+++ b/ChangeLog	Mon Feb 10 18:28:30 2003 +0000
@@ -1,3 +1,7 @@
+Mon Feb 10 2003 Jim Hague <jim.hague@acm.org>
+
+* src/client.c: Fix horror in authentication.
+
 Fri Jan 31 2003 Jim Hague <jim.hague@acm.org>
 
 * docs/noffle.1: Add 'news admin only' to affected options.
--- a/src/client.c	Fri Jan 31 15:37:32 2003 +0000
+++ b/src/client.c	Mon Feb 10 18:28:30 2003 +0000
@@ -1,7 +1,7 @@
 /*
   client.c
 
-  $Id: client.c 419 2003-01-10 23:11:43Z bears $
+  $Id: client.c 430 2003-02-10 18:28:30Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -166,7 +166,7 @@
          || stat == STAT_AUTH_ACCEPTED_DEPREC )
         return stat;
     else if ( stat != STAT_MORE_AUTH_REQUIRED_DEPREC
-              && stat != STAT_AUTH_REQUIRED )
+              && stat != STAT_MORE_AUTH_REQUIRED )
     {
         Log_err( "Username rejected. Server stat: %s", client.lastStat );
         return stat;