From 9a7b375bcf2999d1bc92803a0d6af0d927233112 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 3 Apr 2004 20:47:22 +0000 Subject: [PATCH] fix-missing-parameters-20040403 Fix missing username parameter in calls to Mount Drives --- src/WINNT/client_config/drivemap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WINNT/client_config/drivemap.cpp b/src/WINNT/client_config/drivemap.cpp index fc6d9d844d..e5afd9ed23 100644 --- a/src/WINNT/client_config/drivemap.cpp +++ b/src/WINNT/client_config/drivemap.cpp @@ -624,7 +624,7 @@ BOOL ActivateDriveMap (TCHAR chDrive, LPTSTR pszMapping, LPTSTR pszSubmountReq, } // We now have a submount name and drive letter--map the network drive. - DWORD rc=MountDOSDrive(chDrive,szSubmount,fPersistent); + DWORD rc=MountDOSDrive(chDrive,szSubmount,fPersistent,NULL); if (rc == NO_ERROR) return TRUE; @@ -1158,7 +1158,7 @@ BOOL GlobalMountDrive() break; } } - dwResult=MountDOSDrive(*szDriveToMapTo,(const char *)szSubMount,FALSE); + dwResult=MountDOSDrive(*szDriveToMapTo,(const char *)szSubMount,FALSE,NULL); } RegCloseKey(hKey); return TRUE;