VirtualBox

Ignore:
Timestamp:
Oct 15, 2008 12:42:08 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37941
Message:

Additions/common (VBoxControl and VBoxGuestLib): guest property fixes

File:
1 edited

Legend:

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

    r12812 r13282  
    986986    else if (3 == argc)
    987987    {
    988         if (strcmp(argv[1], "-flags") != 0)
    989             usageOK = false;
    990         else
     988        if (strcmp(argv[2], "-flags") == 0)
    991989        {
    992990            VBoxControlError("You may not specify flags without a value");
    993991            return 1;
    994992        }
     993        else
     994            usageOK = false;
    995995    }
    996996    else if (4 == argc)
     
    10771077        if (RT_SUCCESS(rc))
    10781078        {
    1079             while (RT_SUCCESS(rc) && !pszName)
     1079            while (RT_SUCCESS(rc) && pszName)
    10801080            {
    10811081                RTPrintf("Name: %s, value: %s, timestamp: %lld, flags: %s\n",
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