Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames committed Sep 6, 2023
1 parent ad9a254 commit 5880e7a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions NorthstarDLL/masterserver/masterserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,8 @@ void MasterServerPresenceReporter::InternalAddServer(const ServerPresence* pServ
};

// don't log errors if we wouldn't actually show up in the server list anyway (stop tickets)
bool shouldLogError = !strstr(pServerPresence->m_MapName, "mp_lobby") && strstr(pServerPresence->m_PlaylistName, "private_match");
bool shouldLogError =
!strstr(pServerPresence->m_MapName, "mp_lobby") && strstr(pServerPresence->m_PlaylistName, "private_match");

curl_mime_data(part, modInfo.c_str(), modInfo.size());
curl_mime_name(part, "modinfo");
Expand Down Expand Up @@ -1242,8 +1243,8 @@ void MasterServerPresenceReporter::InternalAddServer(const ServerPresence* pServ
{
if (shouldLogError)
spdlog::error(
"Failed reading masterserver authentication response: encountered parse error \"{}\"",
rapidjson::GetParseError_En(serverAddedJson.GetParseError()));
"Failed reading masterserver authentication response: encountered parse error \"{}\"",
rapidjson::GetParseError_En(serverAddedJson.GetParseError()));
return ReturnCleanup(MasterServerReportPresenceResult::FailedNoRetry);
}

Expand Down

0 comments on commit 5880e7a

Please sign in to comment.