windows-checkserver-fix-20051029
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 30 Oct 2005 01:59:57 +0000 (01:59 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 30 Oct 2005 01:59:57 +0000 (01:59 +0000)
the windows client was not treating Verror responses from the server
as indicating the server as up if they were positive

src/WINNT/afsd/cm_server.c

index a9102d9..d8b1faa 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;
             }