VirtualBox

Ignore:
Timestamp:
Jan 24, 2023 3:32:43 PM (23 months ago)
Author:
vboxsync
Message:

Main/src-server: rc -> hrc/vrc (partial). bugref:10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/DHCPConfigImpl.cpp

    r98103 r98288  
    392392     */
    393393    DhcpOption *pParsed = NULL;
    394     int         rc      = VINF_SUCCESS;
     394    int         vrc     = VINF_SUCCESS;
    395395    try
    396396    {
    397         pParsed = DhcpOption::parse((uint8_t)aOption, aEncoding, aValue.c_str(), &rc);
     397        pParsed = DhcpOption::parse((uint8_t)aOption, aEncoding, aValue.c_str(), &vrc);
    398398    }
    399399    catch (std::bad_alloc &)
     
    423423    }
    424424
    425     if (rc == VERR_WRONG_TYPE)
     425    if (vrc == VERR_WRONG_TYPE)
    426426        return m_pHack->setError(E_INVALIDARG, tr("Unsupported encoding %d (option %d, value %s)"),
    427427                                 (int)aEncoding, (int)aOption, aValue.c_str());
    428     if (rc == VERR_NOT_SUPPORTED)
     428    if (vrc == VERR_NOT_SUPPORTED)
    429429        return m_pHack->setError(E_INVALIDARG, tr("Unsupported option %d (encoding %d, value %s)"),
    430430                                 (int)aOption, (int)aEncoding, aValue.c_str());
    431     return m_pHack->setError(E_INVALIDARG, tr("Malformed option %d value '%s' (encoding %d, rc=%Rrc)"),
    432                              (int)aOption, aValue.c_str(), (int)aEncoding, rc);
     431    return m_pHack->setError(E_INVALIDARG, tr("Malformed option %d value '%s' (encoding %d, vrc=%Rrc)"),
     432                             (int)aOption, aValue.c_str(), (int)aEncoding, vrc);
    433433}
    434434
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