]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-winnt-dont-do-unneeded-version-check-20010918
authorJames Peterson <jimpeter@us.ibm.com>
Thu, 20 Sep 2001 00:19:40 +0000 (00:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 20 Sep 2001 00:19:40 +0000 (00:19 +0000)
make afs config wizard not complain about version < 3.5

(cherry picked from commit 67081b64c9794550315bcd24bb8ecf8431cd260e)

src/WINNT/afssvrcfg/afscfg.cpp

index 2420915ebb98567307bdbba29a56dac3618226d4..2f41449dc3c2df970378b42ad9e1159f4a27c1d2 100644 (file)
@@ -180,16 +180,6 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR pszCmdLineA, int nCm
                return 0;
        }
 
-    // Check the version of the client.  It must be at least 35.
-    if (g_CfgData.nClientVersion < 35) {
-        int nMajor, nMinor;
-        nMajor = g_CfgData.nClientVersion / 10;
-        nMinor = g_CfgData.nClientVersion - (nMajor * 10);
-        g_LogFile.Write("The version of the AFS Client on this machine (%d.%d) is too old to run the server.  The Client must be at least version 3.5.\r\n", nMajor, nMinor);
-               ErrorDialog(0, IDS_ERROR_CLIENT_VERSION);
-        return 0;
-    }
-
        // Run the appropriate interface
        if ((strstr(_strlwr(pszCmdLineA), "wizard") != 0))
                RunWizard();