VirtualBox

Changeset 10246 in vbox


Ignore:
Timestamp:
Jul 4, 2008 5:45:16 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32841
Message:

Main: report unset guest properties correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r10233 r10246  
    35673567    int rc = mVMMDev->hgcmHostCall ("VBoxSharedInfoSvc", GET_CONFIG_KEY_HOST, 3, &parm[0]);
    35683568    /* The returned string should never be able to be greater than our buffer */
    3569     AssertLogRel(rc != VINF_BUFFER_OVERFLOW);
    3570     if (RT_SUCCESS(rc) && (rc != VINF_BUFFER_OVERFLOW))
     3569    AssertLogRel(rc != VERR_BUFFER_OVERFLOW);
     3570    if (RT_SUCCESS(rc) || (VERR_NOT_FOUND == rc))
    35713571    {
    35723572        hrc = S_OK;
    3573         if (parm[2].u.uint32 != 0)
     3573        if (rc != VERR_NOT_FOUND)
    35743574            Utf8Value.cloneTo(aValue);
    35753575        else
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