- fix source code formatting

This commit is contained in:
Dmytro Bogovych 2025-07-23 08:37:16 +03:00
parent ebc9c3220e
commit c67319838f
2 changed files with 5 additions and 4 deletions

View File

@ -103,8 +103,8 @@ bool Packet::parseV3(const ByteBuffer& packet)
if (!sourceAddr4.isEmpty()) if (!sourceAddr4.isEmpty())
mSourceAddress = sourceAddr4; mSourceAddress = sourceAddr4;
else else
if (!sourceAddr6.isEmpty()) if (!sourceAddr6.isEmpty())
mSourceAddress = sourceAddr6; mSourceAddress = sourceAddr6;
if (!mSourceAddress.isEmpty()) if (!mSourceAddress.isEmpty())
mSourceAddress.setPort(sourcePort); mSourceAddress.setPort(sourcePort);
@ -112,8 +112,8 @@ bool Packet::parseV3(const ByteBuffer& packet)
if (!destAddr4.isEmpty()) if (!destAddr4.isEmpty())
mDestinationAddress = destAddr4; mDestinationAddress = destAddr4;
else else
if (!destAddr6.isEmpty()) if (!destAddr6.isEmpty())
mDestinationAddress = destAddr6; mDestinationAddress = destAddr6;
if (!mDestinationAddress.isEmpty()) if (!mDestinationAddress.isEmpty())
mDestinationAddress.setPort(destPort); mDestinationAddress.setPort(destPort);

View File

@ -108,6 +108,7 @@ public:
#if defined(USE_RESIP_INTEGRATION) #if defined(USE_RESIP_INTEGRATION)
static Settings parseSdp(const std::list<resip::Codec>& codeclist); static Settings parseSdp(const std::list<resip::Codec>& codeclist);
#endif #endif
bool operator == (const Settings& rhs) const; bool operator == (const Settings& rhs) const;
}; };