VirtualBox

Changeset 29799 in vbox


Ignore:
Timestamp:
May 25, 2010 6:18:13 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62005
Message:

Machine::QueryLogFilename: Must set aName in the case where the file does not exist.

File:
1 edited

Legend:

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

    r29620 r29799  
    49664966
    49674967    Utf8Str log = queryLogFilename(aIdx);
    4968     if (RTFileExists(log.c_str()))
    4969         log.cloneTo(aName);
     4968    if (!RTFileExists(log.c_str()))
     4969        log.setNull();
     4970    log.cloneTo(aName);
    49704971
    49714972    return S_OK;
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