VirtualBox

Changeset 44109 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Dec 12, 2012 2:34:07 PM (12 years ago)
Author:
vboxsync
Message:

forward-ported r82653 from 4.2 branch (Additions/VBoxTray: don't refuse to start VBoxTray if we cannot connect to the shared folders host service)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSharedFolders.cpp

    r41443 r44109  
    2727    uint32_t u32ClientId;
    2828    int rc = VbglR3SharedFolderConnect(&u32ClientId);
    29     if (RT_FAILURE(rc))
    30         Log(("VBoxTray: Failed to connect to the shared folder service, error %Rrc\n", rc));
    31     else
     29    if (RT_SUCCESS(rc))
    3230    {
    3331        uint32_t cMappings;
     
    128126        VbglR3SharedFolderDisconnect(u32ClientId);
    129127    }
     128    else
     129    {
     130        Log(("VBoxTray: Failed to connect to the shared folder service, error %Rrc\n", rc));
     131        /* return success, otherwise VBoxTray will not start! */
     132        rc = VINF_SUCCESS;
     133    }
    130134    return rc;
    131135}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette