Removed obsolete winodws path hack.
authorArmin Novak <armin.novak@thincast.com>
Mon, 30 Jul 2018 11:16:45 +0000 (13:16 +0200)
committerArmin Novak <armin.novak@thincast.com>
Mon, 30 Jul 2018 11:16:45 +0000 (13:16 +0200)
channels/drive/client/drive_main.c

index b0f851f..10ebbbd 100644 (file)
@@ -874,21 +874,6 @@ static UINT drive_register_drive_path(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints,
        size_t i, length;
        DRIVE_DEVICE* drive;
        UINT error;
-#ifdef WIN32
-
-       /*
-        * We cannot enter paths like c:\ because : is an arg separator
-        * thus, paths are entered as c+\ and the + is substituted here
-        */
-       if (path[1] == '+')
-       {
-               if ((path[0] >= 'a' && path[0] <= 'z') || (path[0] >= 'A' && path[0] <= 'Z'))
-               {
-                       path[1] = ':';
-               }
-       }
-
-#endif
 
        if (name[0] && path[0])
        {