From 729c790a9a7090a46a728b077f6f7f7667bc0ee7 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 28 Feb 2007 00:39:55 +0000 Subject: [PATCH] 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) --- src/WINNT/afsd/lanahelper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/WINNT/afsd/lanahelper.cpp b/src/WINNT/afsd/lanahelper.cpp index 9fff762461..803c02d423 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) {