VirtualBox

Changeset 75702 in vbox


Ignore:
Timestamp:
Nov 25, 2018 1:40:54 AM (6 years ago)
Author:
vboxsync
Message:

VBoxControl guestproperty enumerate: Don't print NULL values as <NULL> but rather like empty strings. (Don't ask me why VbglR3GuestPropEnumNext returns NULL values, though it is more efficient.)

File:
1 edited

Legend:

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

    r75471 r75702  
    14261426            {
    14271427                RTPrintf("Name: %s, value: %s, timestamp: %lld, flags: %s\n",
    1428                          pszName, pszValue, u64Timestamp, pszFlags);
     1428                         pszName, pszValue ? pszValue : "", u64Timestamp, pszFlags);
    14291429
    14301430                rc = VbglR3GuestPropEnumNext(pHandle, &pszName, &pszValue, &u64Timestamp, &pszFlags);
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