Changeset 75805 in vbox
- Timestamp:
- Nov 29, 2018 5:39:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/service.cpp
r75801 r75805 1101 1101 RTListForEachSafe(&pThis->m_PreparedSessions, pCur, pNext, GstCtrlPreparedSession, ListEntry) 1102 1102 { 1103 RTListNodeRemove(&pCur->ListEntry); 1103 1104 RTMemFree(pCur); 1104 1105 } … … 1206 1207 m_fLegacyMode = false; 1207 1208 rClientState.m_fIsMaster = true; 1209 Log(("[Client %RU32] is master.\n", idClient)); 1208 1210 } 1209 1211 else … … 1470 1472 if (!rClientState.mHostCmdList.empty()) 1471 1473 { 1472 int rc = mpHelpers->pfnCallComplete(hCall, V ERR_NOT_FOUND);1474 int rc = mpHelpers->pfnCallComplete(hCall, VINF_SUCCESS); 1473 1475 if (RT_SUCCESS(rc)) 1474 1476 { … … 1567 1569 * Try complete the command. 1568 1570 */ 1569 int rc = mpHelpers->pfnCallComplete(hCall, V ERR_NOT_FOUND);1571 int rc = mpHelpers->pfnCallComplete(hCall, VINF_SUCCESS); 1570 1572 if (RT_SUCCESS(rc)) 1571 1573 LogFlow(("Prepared %u with a %#x byte key (%u pending).\n", idSession, cbKey, m_cPreparedSessions)); … … 1618 1620 RTListForEachSafe(&m_PreparedSessions, pCur, pNext, GstCtrlPreparedSession, ListEntry) 1619 1621 { 1622 RTListNodeRemove(&pCur->ListEntry); 1620 1623 RTMemFree(pCur); 1621 1624 rc = VINF_SUCCESS; … … 1630 1633 if (pCur->idSession == idSession) 1631 1634 { 1635 RTListNodeRemove(&pCur->ListEntry); 1632 1636 RTMemFree(pCur); 1633 1637 m_cPreparedSessions -= 1; … … 1696 1700 * We've got a match. Try complete the request and 1697 1701 */ 1698 int rc = mpHelpers->pfnCallComplete(hCall, V ERR_NOT_FOUND);1702 int rc = mpHelpers->pfnCallComplete(hCall, VINF_SUCCESS); 1699 1703 if (RT_SUCCESS(rc)) 1700 1704 { 1701 1705 rClientState.m_idSession = idSession; 1702 1706 1707 RTListNodeRemove(&pCur->ListEntry); 1703 1708 RTMemFree(pCur); 1704 1709 m_cPreparedSessions -= 1; 1710 Log(("[Client %RU32] accepted session id %u.\n", idClient, idSession)); 1705 1711 } 1706 1712 else … … 2018 2024 { 2019 2025 LogFlowFunc(("[Client %RU32] idFunction=%RU32 (%s), cParms=%RU32, paParms=0x%p\n", 2020 idClient, idFunction, GstCtrl HostFnName((eHostFn)idFunction), cParms, paParms));2026 idClient, idFunction, GstCtrlGuestFnName((eGuestFn)idFunction), cParms, paParms)); 2021 2027 RT_NOREF(tsArrival, pvClient); 2022 2028
Note:
See TracChangeset
for help on using the changeset viewer.