- Timestamp:
- Apr 25, 2022 5:26:14 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/UpdateAgentImpl.cpp
r94706 r94710 99 99 * Returns platform information as a string. 100 100 * 101 * @returns HRESULT101 * @returns Platform information as string. 102 102 */ 103 103 /* static */ … … 233 233 } 234 234 235 LogRelFunc(("strPlatform (Linux) = %s\n", strPlatform.c_str()));236 237 235 if (RT_FAILURE(vrc)) 238 236 # endif /* RT_OS_LINUX */ … … 259 257 if (!strPlatform.endsWith("]")) 260 258 strPlatform.append("]"); 261 262 LogRelFunc(("strPlatform = %s\n", strPlatform.c_str())); 263 }259 } 260 261 LogRel2(("UpdateAgent: Platform is '%s'\n", strPlatform.c_str())); 264 262 265 263 return strPlatform; … … 745 743 va_start(va, pcszMsgFmt); 746 744 747 748 749 750 751 752 753 754 755 756 757 758 759 760 745 char *psz = NULL; 746 if (RTStrAPrintfV(&psz, pcszMsgFmt, va) <= 0) 747 return E_OUTOFMEMORY; 748 749 LogRel(("Update agent (%s): %s\n", mData.m_strName.c_str(), psz)); 750 751 ::FireUpdateAgentErrorEvent(m_EventSource, psz, vrc); 752 753 HRESULT const rc = setErrorVrc(VERR_COM_IPRT_ERROR /** @todo Translate HTTP errors to COM? */, pcszMsgFmt, va); 754 755 va_end(va); 756 RTStrFree(psz); 757 758 return rc; 761 759 } 762 760 … … 1071 1069 rc, cchWord0, pchWord0, cchWord1, pchWord1); 1072 1070 1073 LogRel (("Update agent (%s): HTTP server replied: %.*s %.*s\n",1074 mData.m_strName.c_str(), cchWord0, pchWord0, cchWord1, pchWord1));1071 LogRel2(("Update agent (%s): HTTP server replied: %.*s %.*s\n", 1072 mData.m_strName.c_str(), cchWord0, pchWord0, cchWord1, pchWord1)); 1075 1073 } 1076 1074 else
Note:
See TracChangeset
for help on using the changeset viewer.