fix-getlana-typo-20040227
authorJeffrey Altman <jaltman@mit.edu>
Fri, 27 Feb 2004 06:21:59 +0000 (06:21 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 27 Feb 2004 06:21:59 +0000 (06:21 +0000)
GetUncServerName had a typo which was using "=" instead of "=="
not good.  :-(

src/WINNT/client_config/getlana.cpp

index 6ff3ab2..f78cc33 100644 (file)
@@ -405,7 +405,7 @@ void GetUncServerName(int lanaNumber, BOOL isGateway, TCHAR* name, int type)
             strcpy(mountRoot, "afs"); 
         RegCloseKey(parmKey);
         mountRoot[len]=0;       /*safety see ms-help://MS.MSDNQTR.2002OCT.1033/sysinfo/base/regqueryvalueex.htm*/
-        if ((*pmount=='/') || (*pmount='\\'))
+        if ((*pmount=='/') || (*pmount=='\\'))
             pmount++;
 
         _tcscpy(name, pmount);