summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopsetpriority.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-05-16 13:52:40 +0800
committerErik Kundiman <erik@megapahit.org>2024-05-16 13:52:40 +0800
commit6d51e91895a7f2435c46a876410ccc6c63fe8c82 (patch)
treef2b48ebd99cb414227bf365f47665b8d4baa752b /indra/llcorehttp/_httpopsetpriority.cpp
parentd1b5917bb9c92e4e47eba19b43781e4d1328b1ca (diff)
parent094dcc07f8c1d90ae723dbe60eddacb90a09eae8 (diff)
Merge tag '7.1.7-release'
source for viewer 7.1.7.8974243247
Diffstat (limited to 'indra/llcorehttp/_httpopsetpriority.cpp')
-rw-r--r--indra/llcorehttp/_httpopsetpriority.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/llcorehttp/_httpopsetpriority.cpp b/indra/llcorehttp/_httpopsetpriority.cpp
index b99b4e9e4a..b62770e45a 100644
--- a/indra/llcorehttp/_httpopsetpriority.cpp
+++ b/indra/llcorehttp/_httpopsetpriority.cpp
@@ -37,9 +37,9 @@ namespace LLCore
HttpOpSetPriority::HttpOpSetPriority(HttpHandle handle, HttpRequest::priority_t priority)
- : HttpOperation(),
- mHandle(handle),
- mPriority(priority)
+ : HttpOperation(),
+ mHandle(handle),
+ mPriority(priority)
{}
@@ -49,15 +49,15 @@ HttpOpSetPriority::~HttpOpSetPriority()
void HttpOpSetPriority::stageFromRequest(HttpService * service)
{
- // Do operations
- if (! service->changePriority(mHandle, mPriority))
- {
- // Request not found, fail the final status
- mStatus = HttpStatus(HttpStatus::LLCORE, HE_HANDLE_NOT_FOUND);
- }
-
- // Move directly to response queue
- addAsReply();
+ // Do operations
+ if (! service->changePriority(mHandle, mPriority))
+ {
+ // Request not found, fail the final status
+ mStatus = HttpStatus(HttpStatus::LLCORE, HE_HANDLE_NOT_FOUND);
+ }
+
+ // Move directly to response queue
+ addAsReply();
}