Changeset 58206 in vbox for trunk/src/VBox/Runtime/generic
- Timestamp:
- Oct 12, 2015 5:09:51 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 103321
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/http-curl.cpp
r58202 r58206 2216 2216 if (CURL_FAILURE(rcCurl)) 2217 2217 return VERR_HTTP_CURL_ERROR; 2218 rcCurl = curl_easy_setopt(pThis->pCurl, CURLOPT_HEADER, 0L); 2219 if (CURL_FAILURE(rcCurl)) 2220 return VERR_HTTP_CURL_ERROR; 2218 2221 2219 2222 return VINF_SUCCESS; … … 2330 2333 if (!CURL_FAILURE(rcCurl)) 2331 2334 rcCurl = curl_easy_setopt(pThis->pCurl, CURLOPT_WRITEDATA, (void *)pThis); 2332 if (!CURL_FAILURE(rcCurl)) 2333 rcCurl = curl_easy_setopt(pThis->pCurl, CURLOPT_NOBODY, fNoBody ? 1L : 0L); 2335 if (fNoBody) 2336 { 2337 if (!CURL_FAILURE(rcCurl)) 2338 rcCurl = curl_easy_setopt(pThis->pCurl, CURLOPT_NOBODY, 1L); 2339 if (!CURL_FAILURE(rcCurl)) 2340 rcCurl = curl_easy_setopt(pThis->pCurl, CURLOPT_HEADER, 1L); 2341 } 2334 2342 if (!CURL_FAILURE(rcCurl)) 2335 2343 {
Note:
See TracChangeset
for help on using the changeset viewer.