VirtualBox

Changeset 45077 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 18, 2013 8:40:51 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84359
Message:

GuestProcessImpl.cpp: Fixed some callback return values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r45010 r45077  
    943943            if (pGuestRc)
    944944                *pGuestRc = guestRc;
     945            LogFlowThisFunc(("Callback returned rc=%Rrc\n", guestRc));
    945946        }
    946947    }
     
    11691170                LogFlowThisFunc(("Callback returned rc=%Rrc\n", guestRc));
    11701171            }
    1171             else
    1172                 vrc = VERR_TIMEOUT;
    11731172        }
    11741173
     
    15681567        {
    15691568            int guestRc = pCallbackWrite->GetResultCode();
    1570             LogFlowThisFunc(("Callback returned rc=%Rrc, cbData=%RU32\n", guestRc, pCallbackWrite->GetDataSize()));
    1571 
    15721569            if (RT_SUCCESS(guestRc))
    15731570            {
     
    16021599                LogFlowThisFunc(("cbWritten=%RU32\n", cbWritten));
    16031600
    1604                 if (pGuestRc)
    1605                     *pGuestRc = guestRc;
    1606 
    16071601                if (puWritten)
    16081602                    *puWritten = cbWritten;
    1609 
    1610                 if (RT_FAILURE(guestRc))
    1611                     vrc = VERR_GENERAL_FAILURE; /** @todo Special guest control rc needed! */
    16121603            }
     1604            else
     1605                vrc = VERR_GENERAL_FAILURE; /** @todo Special guest control rc needed! */
     1606
     1607            if (pGuestRc)
     1608                *pGuestRc = guestRc;
     1609            LogFlowThisFunc(("Callback returned rc=%Rrc\n", guestRc));
    16131610        }
    16141611    }
Note: See TracChangeset for help on using the changeset viewer.

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