Changeset 73886 in vbox
- Timestamp:
- Aug 25, 2018 9:51:12 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/iprt/http.h (modified) (3 diffs)
-
src/VBox/Runtime/generic/http-curl.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/http.h
r73857 r73886 53 53 * Creates a HTTP client instance. 54 54 * 55 * @returns iprt status code. 56 * 55 * @returns IPRT status code. 57 56 * @param phHttp Where to store the HTTP handle. 58 57 */ … … 62 61 * Resets a HTTP client instance. 63 62 * 64 * @returns iprt status code. 65 * 63 * @returns IPRT status code. 66 64 * @param hHttp Handle to the HTTP interface. 67 65 */ … … 71 69 * Destroys a HTTP client instance. 72 70 * 71 * @returns IPRT status code. 73 72 * @param hHttp Handle to the HTTP interface. 74 73 */ 75 RTR3DECL( void) RTHttpDestroy(RTHTTP hHttp);74 RTR3DECL(int) RTHttpDestroy(RTHTTP hHttp); 76 75 77 76 -
trunk/src/VBox/Runtime/generic/http-curl.cpp
r73851 r73886 313 313 314 314 315 RTR3DECL( void) RTHttpDestroy(RTHTTP hHttp)315 RTR3DECL(int) RTHttpDestroy(RTHTTP hHttp) 316 316 { 317 317 if (hHttp == NIL_RTHTTP) 318 return ;318 return VINF_SUCCESS; 319 319 320 320 PRTHTTPINTERNAL pThis = hHttp; 321 RTHTTP_VALID_RETURN _VOID(pThis);321 RTHTTP_VALID_RETURN(pThis); 322 322 323 323 Assert(!pThis->fBusy); … … 348 348 349 349 curl_global_cleanup(); 350 351 return VINF_SUCCESS; 350 352 } 351 353
Note:
See TracChangeset
for help on using the changeset viewer.

