Changeset 36617 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Apr 7, 2011 7:28:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp
r36523 r36617 1121 1121 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 1122 1122 1123 const char *url;1124 1125 1123 NOREF(aVersion); 1126 1124 1127 static const struct { 1125 static const struct 1126 { 1128 1127 FirmwareType_T type; 1129 1128 const char* fileName; … … 1160 1159 1161 1160 Utf8Str shortName, fullName; 1162 int rc;1163 1161 1164 1162 shortName = Utf8StrFmt("Firmware%c%s", 1165 1163 RTPATH_DELIMITER, 1166 1164 firmwareDesc[i].fileName); 1167 rc = calculateFullPath(shortName, fullName); AssertRCReturn(rc, rc); 1165 int rc = calculateFullPath(shortName, fullName); 1166 AssertRCReturn(rc, rc); 1168 1167 if (RTFileExists(fullName.c_str())) 1169 1168 { 1170 1169 *aResult = TRUE; 1171 1170 if (aFile) 1172 1171 Utf8Str(fullName).cloneTo(aFile); 1173 1172 break; … … 1175 1174 1176 1175 char pszVBoxPath[RTPATH_MAX]; 1177 rc = RTPathExecDir(pszVBoxPath, RTPATH_MAX); AssertRCReturn(rc, rc); 1176 rc = RTPathExecDir(pszVBoxPath, RTPATH_MAX); 1177 AssertRCReturn(rc, rc); 1178 1178 fullName = Utf8StrFmt("%s%c%s", 1179 1179 pszVBoxPath, … … 1188 1188 } 1189 1189 1190 1191 url = firmwareDesc[i].url;1192 1190 /** @todo: account for version in the URL */ 1193 1191 if (aUrl != NULL)
Note:
See TracChangeset
for help on using the changeset viewer.