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:
commit
802abbb288
|
@ -1077,7 +1077,7 @@ void AchievementManager::Request(const rc_api_request_t* request,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
constexpr char error_message[] = "Failed HTTP request.";
|
static constexpr char error_message[] = "Failed HTTP request.";
|
||||||
server_response.body = error_message;
|
server_response.body = error_message;
|
||||||
server_response.body_length = sizeof(error_message);
|
server_response.body_length = sizeof(error_message);
|
||||||
server_response.http_status_code = RC_API_SERVER_RESPONSE_RETRYABLE_CLIENT_ERROR;
|
server_response.http_status_code = RC_API_SERVER_RESPONSE_RETRYABLE_CLIENT_ERROR;
|
||||||
|
|
Loading…
Reference in New Issue