VirtualBox

Ignore:
Timestamp:
Dec 4, 2008 11:11:35 AM (16 years ago)
Author:
vboxsync
Message:

Storage/testcase: fix lost "default=" message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/testcase/tstVD-2.cpp

    r14967 r14970  
    5454static const char *tstGetValueByKey(const char *pszKey)
    5555{
    56     for (int i = 0; aCfgNode[i].key; i++) 
     56    for (int i = 0; aCfgNode[i].key; i++)
    5757        if (!strcmp(aCfgNode[i].key, pszKey))
    5858            return aCfgNode[i].value;
     
    7474    if (!pszValue)
    7575        return VERR_CFGM_VALUE_NOT_FOUND;
    76     size_t cchTmp = strlen(pszTmp) + 1; 
     76    size_t cchTmp = strlen(pszTmp) + 1;
    7777    if (cchValue < cchTmp)
    7878        return VERR_CFGM_NOT_ENOUGH_SPACE;
     
    150150                        RTPrintf("INVALID!");
    151151                }
     152                RTPrintf(" default=");
    152153                if (pa->pszDefaultValue)
    153154                    RTPrintf("%s", pa->pszDefaultValue);
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