Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimi1010 committed Jan 18, 2025
1 parent 3827a9b commit fc84dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Packet++/src/DnsResourceData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ namespace pcpp
{
if (m_DataLen == 0 || m_Data == nullptr)
{
PCPP_LOG_ERROR("Input data is null or illegal"
<< "|m_DataLen:" << m_DataLen);
PCPP_LOG_ERROR("Input data is null or illegal" << "|m_DataLen:" << m_DataLen);
return false;
}

Expand Down
3 changes: 1 addition & 2 deletions Packet++/src/VrrpLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,7 @@ namespace pcpp
auto* ipLayer = m_Packet->getLayerOfType<pcpp::IPLayer>();
if (ipLayer == nullptr)
{
PCPP_LOG_ERROR("Calculate checksum failed, for can not get IPLayer"
<< "");
PCPP_LOG_ERROR("Calculate checksum failed, for can not get IPLayer" << "");
return 0;
}

Expand Down

0 comments on commit fc84dc9

Please sign in to comment.