VirtualBox

Changeset 50085 in vbox for trunk


Ignore:
Timestamp:
Jan 16, 2014 9:42:33 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91606
Message:

VBoxManage/BandwidthGroups: additional check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageBandwidthControl.cpp

    r49621 r50085  
    108108
    109109    Bstr name(a->argv[2]);
     110    if (name.isEmpty())
     111    {
     112        errorArgument("Bandwidth group name must not be empty!\n");
     113        return RTEXITCODE_FAILURE;
     114    }
     115
    110116    const char *pszType  = NULL;
    111117    int64_t cMaxBytesPerSec = INT64_MAX;
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