From: Jeffrey Altman Date: Tue, 9 Mar 2004 03:07:27 +0000 (+0000) Subject: unmap-debugging-20040308 X-Git-Tag: openafs-devel-1_3_60~56 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=1269df5ffaebedeabb2afec48199500311cdc458 unmap-debugging-20040308 Add more debug info to DoUnmapShare --- diff --git a/src/WINNT/client_config/drivemap.cpp b/src/WINNT/client_config/drivemap.cpp index 5fa529a..26753dc 100644 --- a/src/WINNT/client_config/drivemap.cpp +++ b/src/WINNT/client_config/drivemap.cpp @@ -949,11 +949,14 @@ void DoUnMapShare(BOOL drivemap) //disconnect drivemap { if ((lpnrLocal[i].lpLocalName) && (strlen(lpnrLocal[i].lpLocalName)>0)) { - if (drivemap) + if (drivemap) { DisMountDOSDrive(*lpnrLocal[i].lpLocalName); - } else + DEBUG_EVENT1("AFS DriveUnMap","UnMap-Local=%x",res); + } + } else { DisMountDOSDriveFull(lpnrLocal[i].lpRemoteName); - DEBUG_EVENT1("AFS DriveUnMap","UnMap-Remote=%x",res); + DEBUG_EVENT1("AFS DriveUnMap","UnMap-Remote=%x",res); + } } } }