]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-checkserver-fix-20051029
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 30 Oct 2005 01:01:10 +0000 (01:01 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 30 Oct 2005 01:01:10 +0000 (01:01 +0000)
the windows client was not treating Verror responses from the server
as indicating the server as up if they were positive

(cherry picked from commit eaa142645227b1af8a7d41f8b9c376ddf789c532)

src/WINNT/afsd/cm_server.c

index a9102d9037e93865f7538df984505adfc1956275..d8b1faa1f7c8af3dbbe1e3d575fdeb7d6628171a 100644 (file)
@@ -100,7 +100,7 @@ void cm_CheckServers(long flags, cm_cell_t *cellp)
             }  /* got an unauthenticated connection to this server */
 
             lock_ObtainMutex(&tsp->mx);
-            if (code == 0) {
+            if (code >= 0) {
                 /* mark server as up */
                 tsp->flags &= ~CM_SERVERFLAG_DOWN;
             }