Changeset 2176


Ignore:
Timestamp:
6/18/2010 6:40:16 AM (5 years ago)
Author:
lowjoel
Message:

Fixed potential ArgumentException? when a network path is simply remembered, but not mounted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/6.0/Eraser.Util/VolumeInfo.cs

    r2172 r2176  
    198198                                        (IntPtr)pointer, typeof(KernelApi.NativeMethods.NETRESOURCE)); 
    199199 
     200                                //Skip all UNC paths without a local mount point 
     201                                if (resource.lpLocalName == null) 
     202                                    continue; 
     203 
    200204                                //Ensure that the path in the resource structure ends with a trailing 
    201205                                //backslash as out volume ID ends with one. 
Note: See TracChangeset for help on using the changeset viewer.