VirtualBox

Changeset 92879 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Dec 13, 2021 10:14:41 AM (3 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Resolved @todo: Shortened fFlags check in GuestSession::directoryCreate().

File:
1 edited

Legend:

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

    r92878 r92879  
    33953395            fFlags |= aFlags[i];
    33963396
    3397         /** @todo r=bird: This should be: if (fFlags & ~DirectoryCreateFlag_Parents) */
    3398         if (fFlags)
    3399             if (!(fFlags & DirectoryCreateFlag_Parents))
    3400                 return setError(E_INVALIDARG, tr("Unknown flags (%#x)"), fFlags);
     3397        if (fFlags & ~DirectoryCreateFlag_Parents)
     3398            return setError(E_INVALIDARG, tr("Unknown flags (%#x)"), fFlags);
    34013399    }
    34023400
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