]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-ubik-fix-typo-20010919
authorDerrick Brashear <shadow@dementia.org>
Thu, 20 Sep 2001 04:58:52 +0000 (04:58 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 20 Sep 2001 04:58:52 +0000 (04:58 +0000)
somehow this crept in

(cherry picked from commit e667ec654b7d14fd0ef228dd9acbda974ba6825a)

src/ubik/vote.c

index 1a94ae3264d778d9eabf0fa0ee7387d1082e3551..28e75e2f1d02a76242d8e0833bbd1ad182cd6356 100644 (file)
@@ -126,7 +126,7 @@ int uvote_ShouldIRun() {
     
     now = FT_ApproxTime();
     if (BIGTIME + ubik_lastYesTime < now) return 1;    /* no valid guy even trying */
-    if (lastYesState && lastYerHost != ubik_host[0]) return 0; /* other guy is sync site, leave him alone */
+    if (lastYesState && lastYesHost != ubik_host[0]) return 0; /* other guy is sync site, leave him alone */
     if (ntohl((afs_uint32) lastYesHost) < ntohl((afs_uint32) ubik_host[0]))
        return 0;    /* if someone is valid and better than us, don't run */
     /* otherwise we should run */