Skip to content

Commit

Permalink
Merge pull request dolphin-emu#12937 from AdmiralCurtiss/achievements…
Browse files Browse the repository at this point in the history
…-login-error-message

AchievementManager: Don't point to stack for login error message
  • Loading branch information
OatmealDome authored Jul 15, 2024
2 parents 505fe5c + 63e1419 commit 802abbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/AchievementManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ void AchievementManager::Request(const rc_api_request_t* request,
}
else
{
constexpr char error_message[] = "Failed HTTP request.";
static constexpr char error_message[] = "Failed HTTP request.";
server_response.body = error_message;
server_response.body_length = sizeof(error_message);
server_response.http_status_code = RC_API_SERVER_RESPONSE_RETRYABLE_CLIENT_ERROR;
Expand Down

0 comments on commit 802abbb

Please sign in to comment.