Changeset 14970 in vbox for trunk/src/VBox/Devices/Storage/testcase
- Timestamp:
- Dec 4, 2008 11:11:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/testcase/tstVD-2.cpp
r14967 r14970 54 54 static const char *tstGetValueByKey(const char *pszKey) 55 55 { 56 for (int i = 0; aCfgNode[i].key; i++) 56 for (int i = 0; aCfgNode[i].key; i++) 57 57 if (!strcmp(aCfgNode[i].key, pszKey)) 58 58 return aCfgNode[i].value; … … 74 74 if (!pszValue) 75 75 return VERR_CFGM_VALUE_NOT_FOUND; 76 size_t cchTmp = strlen(pszTmp) + 1; 76 size_t cchTmp = strlen(pszTmp) + 1; 77 77 if (cchValue < cchTmp) 78 78 return VERR_CFGM_NOT_ENOUGH_SPACE; … … 150 150 RTPrintf("INVALID!"); 151 151 } 152 RTPrintf(" default="); 152 153 if (pa->pszDefaultValue) 153 154 RTPrintf("%s", pa->pszDefaultValue);
Note:
See TracChangeset
for help on using the changeset viewer.