VirtualBox

Changeset 43229 in vbox


Ignore:
Timestamp:
Sep 6, 2012 3:29:23 PM (12 years ago)
Author:
vboxsync
Message:

PDMNetShaper.cpp: more style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMNetShaper.cpp

    r43228 r43229  
    481481                {
    482482                    uint64_t cbMax;
    483                     size_t cchName = CFGMR3GetNameLen(pCur) + 1;
    484                     char *pszBwGrpId = (char *)RTMemAllocZ(cchName);
     483                    size_t cbName = CFGMR3GetNameLen(pCur) + 1;
     484                    char *pszBwGrpId = (char *)RTMemAllocZ(cbName);
    485485
    486486                    if (!pszBwGrpId)
     
    490490                    }
    491491
    492                     rc = CFGMR3GetName(pCur, pszBwGrpId, cchName);
     492                    rc = CFGMR3GetName(pCur, pszBwGrpId, cbName);
    493493                    AssertRC(rc);
    494494
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