VirtualBox

Changeset 93058 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 22, 2021 2:23:25 PM (3 years ago)
Author:
vboxsync
Message:

VBoxNetLwipNAT::init: Just instantiate com::Utf8StrFmt directly instead of copying it onto a plain com::Utf8Str instance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r92613 r93058  
    461461    if (m_strHome.isNotEmpty())
    462462    {
    463         com::Utf8Str strTftpRoot(com::Utf8StrFmt("%s%c%s",
    464                                      m_strHome.c_str(), RTPATH_DELIMITER, "TFTP"));
     463        com::Utf8StrFmt strTftpRoot("%s%c%s", m_strHome.c_str(), RTPATH_DELIMITER, "TFTP");
    465464        char *pszStrTemp;       // avoid const char ** vs char **
    466465        rc = RTStrUtf8ToCurrentCP(&pszStrTemp, strTftpRoot.c_str());
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