From c763e4b64308867c4bbc36f243462701c63874bf Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 20 Mar 2004 07:55:38 +0000 Subject: [PATCH] tab-drives-20040319 the mount root is used to define mount paths not the netbios name --- src/WINNT/client_config/tab_drives.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/WINNT/client_config/tab_drives.cpp b/src/WINNT/client_config/tab_drives.cpp index 69b701d..9c2afd1 100644 --- a/src/WINNT/client_config/tab_drives.cpp +++ b/src/WINNT/client_config/tab_drives.cpp @@ -433,10 +433,8 @@ void DriveEdit_OnInitDialog (HWND hDlg) SendMessage (hCombo, CB_SETCURSEL, iItemSel, 0); TCHAR szMapping[ MAX_PATH ]; - memset(szMapping, '\0', sizeof(szMapping)); - szMapping[0] = '\\'; - lana_GetNetbiosName(&szMapping[1], LANA_NETBIOS_NAME_FULL); - + AdjustAfsPath (szMapping, ((pMap->szMapping[0]) ? pMap->szMapping : cm_slash_mount_root), TRUE, FALSE); + CHAR msg[256], msgf[256]; if (GetDlgItemText(hDlg,IDC_STATICSUBMOUNT,(LPSTR)msg,sizeof(msg)-1)>0) { -- 1.9.4