VirtualBox

Changeset 29617 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 18, 2010 12:06:43 PM (15 years ago)
Author:
vboxsync
Message:

VBoxGuest.cpp: VbglGRPerform returns the request status code on success. Don't check it again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp

    r29250 r29617  
    272272        pReq->guestInfo.osType = enmOSType;
    273273        rc = VbglGRPerform(&pReq->header);
    274         if (    RT_FAILURE(rc)
    275             ||  RT_FAILURE(pReq->header.rc))
    276             LogRel(("vboxGuestInitReportGuestInfo: failed with rc=%Rrc and VMMDev rc=%Rrc\n",
    277                     rc, pReq->header.rc));
     274        if (RT_FAILURE(rc))
     275            LogRel(("vboxGuestInitReportGuestInfo: 1st part failed with rc=%Rrc\n", rc));
    278276        VbglGRFree(&pReq->header);
    279277    }
     
    292290        if (rc == VERR_NOT_IMPLEMENTED) /* compatibility with older hosts */
    293291            rc = VINF_SUCCESS;
    294         if (    RT_FAILURE(rc)
    295             ||  RT_FAILURE(pReq2->header.rc))
    296             LogRel(("vboxGuestInitReportGuestInfo2: failed with rc=%Rrc and VMMDev rc=%Rrc\n",
    297                     rc, pReq2->header.rc));
     292        if (RT_FAILURE(rc))
     293            LogRel(("vboxGuestInitReportGuestInfo: 2nd part failed with rc=%Rrc\n", rc));
    298294        VbglGRFree(&pReq2->header);
    299295    }
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