Changeset 85685 in vbox
- Timestamp:
- Aug 11, 2020 11:45:47 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139822
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageUpdateCheck.cpp
r85683 r85685 47 47 RTGETOPTUNION ValueUnion; 48 48 RTGETOPTSTATE GetState; 49 static const RTGETOPTDEF s_aOptions[] = {}; 49 /** @todo r=brent decide on the best approach for options to specify here */ 50 static const RTGETOPTDEF s_aOptions[] = 51 { 52 { "--verbose", 'v', RTGETOPT_REQ_NOTHING } 53 }; 50 54 int vrc = RTGetOptInit(&GetState, argc, argv, s_aOptions, RT_ELEMENTS(s_aOptions), 0 /* First */, 0); 51 55 AssertRCReturn(vrc, RTEXITCODE_INIT); … … 183 187 { 184 188 VBoxUpdateTarget_T enmVBoxUpdateTarget; 185 if (! strcasecmp(pszVBoxUpdateTarget, "stable"))189 if (!RTStrICmp(pszVBoxUpdateTarget, "stable")) 186 190 enmVBoxUpdateTarget = VBoxUpdateTarget_Stable; 187 else if (! strcasecmp(pszVBoxUpdateTarget, "withbetas"))191 else if (!RTStrICmp(pszVBoxUpdateTarget, "withbetas")) 188 192 enmVBoxUpdateTarget = VBoxUpdateTarget_WithBetas; 189 else if (! strcasecmp(pszVBoxUpdateTarget, "allreleases"))193 else if (!RTStrICmp(pszVBoxUpdateTarget, "allreleases")) 190 194 enmVBoxUpdateTarget = VBoxUpdateTarget_AllReleases; 191 195 else … … 217 221 RTGETOPTUNION ValueUnion; 218 222 RTGETOPTSTATE GetState; 219 static const RTGETOPTDEF s_aOptions[] = {}; 223 /** @todo r=brent decide on the best approach for options to specify here */ 224 static const RTGETOPTDEF s_aOptions[] = 225 { 226 { "--verbose", 'v', RTGETOPT_REQ_NOTHING } 227 }; 220 228 int vrc = RTGetOptInit(&GetState, argc, argv, s_aOptions, RT_ELEMENTS(s_aOptions), 0 /* First */, 0); 221 229 AssertRCReturn(vrc, RTEXITCODE_INIT); -
trunk/src/VBox/Main/src-server/HostUpdateImpl.cpp
r85683 r85685 89 89 HRESULT rc = pHostUpdate->i_updateCheckTask(this); 90 90 91 LogFlowFunc(("rc=%Rhrc\n", rc)); 91 LogFlowFunc(("rc=%Rhrc\n", rc)); NOREF(rc); 92 92 LogFlowFuncLeave(); 93 93 }
Note:
See TracChangeset
for help on using the changeset viewer.