From: Jeffrey Altman Date: Fri, 27 Feb 2004 06:21:59 +0000 (+0000) Subject: fix-getlana-typo-20040227 X-Git-Tag: openafs-devel-1_3_60~92 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=33f9f204bbe69637c160d9d09659f8c8fe617f1e;p=packages%2Fo%2Fopenafs.git fix-getlana-typo-20040227 GetUncServerName had a typo which was using "=" instead of "==" not good. :-( --- diff --git a/src/WINNT/client_config/getlana.cpp b/src/WINNT/client_config/getlana.cpp index 6ff3ab2e1..f78cc339e 100644 --- a/src/WINNT/client_config/getlana.cpp +++ b/src/WINNT/client_config/getlana.cpp @@ -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);