VirtualBox

Ignore:
Timestamp:
Aug 25, 2018 9:51:12 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/http: RTHttpDestroy shall return a status. bugref:9167

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r73851 r73886  
    313313
    314314
    315 RTR3DECL(void) RTHttpDestroy(RTHTTP hHttp)
     315RTR3DECL(int) RTHttpDestroy(RTHTTP hHttp)
    316316{
    317317    if (hHttp == NIL_RTHTTP)
    318         return;
     318        return VINF_SUCCESS;
    319319
    320320    PRTHTTPINTERNAL pThis = hHttp;
    321     RTHTTP_VALID_RETURN_VOID(pThis);
     321    RTHTTP_VALID_RETURN(pThis);
    322322
    323323    Assert(!pThis->fBusy);
     
    348348
    349349    curl_global_cleanup();
     350
     351    return VINF_SUCCESS;
    350352}
    351353
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette