Changeset 89725 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jun 15, 2021 11:35:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/rest/RTCRestClientApiBaseOci.cpp
r87303 r89725 80 80 81 81 #ifdef RT_STRICT 82 const char *pszContentLength = RTHttpGetHeader(hHttp, RT_STR_TUPLE("Content-Length")); 83 Assert(pszContentLength); 84 AssertMsg(!pszContentLength || RTStrToUInt64(pszContentLength) == cbContent, ("'%s' vs %RU64\n", pszContentLength, cbContent)); 82 if (cbContent != 0) 83 { 84 const char *pszContentLength = RTHttpGetHeader(hHttp, RT_STR_TUPLE("Content-Length")); 85 Assert(pszContentLength); 86 AssertMsg(!pszContentLength || RTStrToUInt64(pszContentLength) == cbContent, 87 ("'%s' vs %RU64\n", pszContentLength, cbContent)); 88 } 85 89 #endif 86 90
Note:
See TracChangeset
for help on using the changeset viewer.