Merge pull request #12937 from AdmiralCurtiss/achievements-login-error-message

AchievementManager: Don't point to stack for login error message
This commit is contained in:
OatmealDome 2024-07-15 18:53:01 -04:00 committed by GitHub
commit 802abbb288
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;