VirtualBox

Ignore:
Timestamp:
Jul 13, 2020 12:56:56 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139287
Message:

Main: Try harder using the Utf8Str versions of the event stuff where possible. bugref:9790

File:
1 edited

Legend:

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

    r82968 r85309  
    326326
    327327    alock.release();
    328     mParent->i_onNATRedirectRuleChange(ulSlot, FALSE, Bstr(name).raw(), aProto, Bstr(r.strHostIP).raw(),
    329                                        r.u16HostPort, Bstr(r.strGuestIP).raw(), r.u16GuestPort);
     328    mParent->i_onNATRedirectRuleChanged(ulSlot, FALSE, name, aProto, r.strHostIP, r.u16HostPort, r.strGuestIP, r.u16GuestPort);
    330329    return S_OK;
    331330}
     
    350349    mParent->i_setModified(Machine::IsModified_NetworkAdapters);
    351350    alock.release();
    352     mParent->i_onNATRedirectRuleChange(ulSlot, TRUE, Bstr(aName).raw(), r.proto, Bstr(r.strHostIP).raw(),
    353                                        r.u16HostPort, Bstr(r.strGuestIP).raw(), r.u16GuestPort);
     351    mParent->i_onNATRedirectRuleChanged(ulSlot, TRUE, aName, r.proto, r.strHostIP, r.u16HostPort, r.strGuestIP, r.u16GuestPort);
    354352    return S_OK;
    355353}
Note: See TracChangeset for help on using the changeset viewer.

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