AchievementManager: Don't point to stack for login error message

This commit is contained in:
Admiral H. Curtiss 2024-07-15 23:24:04 +02:00
parent 505fe5cc0e
commit 63e1419396
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
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;