VirtualBox

Changeset 22266 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Aug 14, 2009 3:48:18 PM (15 years ago)
Author:
vboxsync
Message:

Webserice: fixed error code check

Location:
trunk/src/VBox/Main/webservice
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/vboxweb.cpp

    r21079 r22266  
    11941194
    11951195    WEBDEBUG(("-- leaving %s, rc: 0x%lX\n", __FUNCTION__, rc));
    1196     if (rc)
     1196    if (FAILED(rc))
    11971197        return SOAP_FAULT;
    11981198    return SOAP_OK;
     
    12341234
    12351235    WEBDEBUG(("-- leaving %s, rc: 0x%lX\n", __FUNCTION__, rc));
    1236     if (rc)
     1236    if (FAILED(rc))
    12371237        return SOAP_FAULT;
    12381238    return SOAP_OK;
     
    13081308
    13091309    WEBDEBUG(("-- leaving %s, rc: 0x%lX\n", __FUNCTION__, rc));
    1310     if (rc)
     1310    if (FAILED(rc))
    13111311        return SOAP_FAULT;
    13121312    return SOAP_OK;
     
    13381338
    13391339    WEBDEBUG(("-- leaving %s, rc: 0x%lX\n", __FUNCTION__, rc));
    1340     if (rc)
     1340    if (FAILED(rc))
    13411341        return SOAP_FAULT;
    13421342    return SOAP_OK;
     
    13751375
    13761376    WEBDEBUG(("-- leaving %s, rc: 0x%lX\n", __FUNCTION__, rc));
    1377     if (rc)
     1377    if (FAILED(rc))
    13781378        return SOAP_FAULT;
    13791379    return SOAP_OK;
  • trunk/src/VBox/Main/webservice/websrv-cpp.xsl

    r20928 r22266  
    549549  <xsl:if test="not($fSkipHRESULT)">
    550550    <xsl:text>
    551     if (rc)
     551    if (FAILED(rc))
    552552        return SOAP_FAULT;
    553553    return SOAP_OK;</xsl:text>
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