VirtualBox

Ignore:
Timestamp:
Dec 20, 2011 10:36:53 AM (13 years ago)
Author:
vboxsync
Message:

GuestControl: Bugfixes, logging.

File:
1 edited

Legend:

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

    r39585 r39659  
    254254                break;
    255255
    256             case VERR_NOT_FOUND:
    257                 rc = setError(VBOX_E_IPRT_ERROR,
    258                               Guest::tr("Unable to query directory existence"));
    259                 break;
    260 
    261256            default:
    262                 AssertReleaseMsgFailed(("directoryExistsInternal: Unknown return value (%Rrc)\n", rc));
     257                hr = setError(VBOX_E_IPRT_ERROR,
     258                              Guest::tr("Unable to query directory existence (%Rrc)"), rc);
    263259                break;
    264260        }
     
    509505                    && aObjInfo) /* Do we want object details? */
    510506                {
    511                     hr = executeStreamQueryFsObjInfo(aDirectory, stdOut[0],
     507                    rc = executeStreamQueryFsObjInfo(aDirectory, stdOut[0],
    512508                                                     aObjInfo, enmAddAttribs);
    513509                }
    514510            }
    515511            else
    516                 rc = VERR_NOT_FOUND;
     512                rc = VERR_NO_DATA;
    517513
    518514            if (pRC)
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