From: Jeffrey Altman Date: Wed, 28 Feb 2007 00:39:55 +0000 (+0000) Subject: STABLE14-windows-partially-restore-find-lana-by-name-20070227 X-Git-Tag: openafs-stable-1_4_3rc3~1 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=729c790a9a7090a46a728b077f6f7f7667bc0ee7;p=packages%2Fo%2Fopenafs.git STABLE14-windows-partially-restore-find-lana-by-name-20070227 find lana by name is used by the afs control panel to populate the lana list box. don't use the function to find by name. just use it to generate the list of all lana names. (cherry picked from commit 561f8b742fceeed10e6f3d9639c96efb085ad2a9) --- diff --git a/src/WINNT/afsd/lanahelper.cpp b/src/WINNT/afsd/lanahelper.cpp index 9fff76246..803c02d42 100644 --- a/src/WINNT/afsd/lanahelper.cpp +++ b/src/WINNT/afsd/lanahelper.cpp @@ -64,7 +64,6 @@ static const char *szNoFindLanaByName = "NoFindLanaByName"; #endif static const char *szForceLanaLoopback = "ForceLanaLoopback"; -#ifdef USE_FINDLANABYNAME // Use the IShellFolder API to get the connection name for the given Guid. static HRESULT lana_ShellGetNameFromGuidW(WCHAR *wGuid, WCHAR *wName, int NameSize) { @@ -365,7 +364,6 @@ extern "C" LANAINFO * lana_FindLanaByName(const char *LanaName) free(bindpaths); return lanainfo; } -#endif extern "C" lana_number_t lana_FindLoopback(void) {