Changeset 26030 in vbox for trunk/src/VBox
- Timestamp:
- Jan 25, 2010 6:27:21 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56925
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r26001 r26030 7577 7577 for (size_t i = 0; i < names.size(); ++ i) 7578 7578 { 7579 if (values[i] )7579 if (values[i] && *values[i]) 7580 7580 { 7581 7581 Utf8Str name = names[i]; … … 7618 7618 for (size_t i = 0; i < aNames.size(); ++ i) 7619 7619 { 7620 if (aValues[i] )7620 if (aValues[i] && *aValues[i]) 7621 7621 { 7622 7622 Utf8Str name = aNames[i]; 7623 7623 Utf8Str value = aValues[i]; 7624 rc = CFGMR3InsertString(pVDC, name.c_str(), value.c_str()); 7624 rc = CFGMR3InsertString(pVDC, name.c_str(), value.c_str()); RC_CHECK(); 7625 7625 if ( !(name.compare("HostIPStack")) 7626 7626 && !(value.compare("0"))) -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r25946 r26030 1152 1152 Utf8Str name = names[ii]; 1153 1153 Utf8Str value = values[ii]; 1154 rc = CFGMR3InsertString(pVDC, name.c_str(), value.c_str()); AssertRC(rc); /** @todo r=bird: why not RC_CHECK() here? (I added the AssertRC.)*/1154 rc = CFGMR3InsertString(pVDC, name.c_str(), value.c_str()); RC_CHECK(); 1155 1155 if ( name.compare("HostIPStack") == 0 1156 1156 && value.compare("0") == 0) … … 1191 1191 for (size_t ii = 0; ii < aNames.size(); ++ii) 1192 1192 { 1193 if (aValues[ii] )1193 if (aValues[ii] && *aValues[ii]) 1194 1194 { 1195 1195 Utf8Str name = aNames[ii]; 1196 1196 Utf8Str value = aValues[ii]; 1197 rc = CFGMR3InsertString(pVDC, name.c_str(), value.c_str()); AssertRC(rc); /** @todo r=bird: why not RC_HCECK here? (I added the AssertRC.)*/1197 rc = CFGMR3InsertString(pVDC, name.c_str(), value.c_str()); RC_CHECK(); 1198 1198 if ( name.compare("HostIPStack") == 0 1199 1199 && value.compare("0") == 0)
Note:
See TracChangeset
for help on using the changeset viewer.