VirtualBox

Changeset 75860 in vbox


Ignore:
Timestamp:
Dec 1, 2018 10:55:08 PM (6 years ago)
Author:
vboxsync
Message:

GuestControl: Preps for using the pvClient data area and have the mClientStateMap only contain pointers. bugref:9313 [fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/service.cpp

    r75859 r75860  
    10861086                    ("Client ID=%RU32 not found in client list when it should be there\n", idClient),
    10871087                    VINF_SUCCESS);
    1088     ClientState *pClient = ItClientState->second;
     1088    ClientState *pClient = &ItClientState->second;
    10891089#endif
    10901090
     
    20172017    ClientStateMapIter ItClientState = pThis->mClientStateMap.find(idClient);
    20182018    AssertReturnVoidStmt(ItClientState != pThis->mClientStateMap.end(),
    2019                          pThis->mpHelpers->pfnCallComplete(hCall, VERR_INVALID_CLIENT_ID))
    2020     ClientState *pClient = ItClientState->second;
     2019                         pThis->mpHelpers->pfnCallComplete(hCall, VERR_INVALID_CLIENT_ID));
     2020    ClientState *pClient = &ItClientState->second;
    20212021    RT_NOREF(pvClient);
    20222022#endif
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