summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopsetpriority.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-01 08:16:58 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-01 08:16:58 +0300
commit38c2a5bde985a6a8a96d912d432f8bdf7e5b60be (patch)
treeb3469444ea8dabe4e76a8a265ac086a9db78891c /indra/llcorehttp/_httpopsetpriority.cpp
parent9bf2dfbb39032d7407295089cf181de0987083e5 (diff)
parente7eced3c87310b15ac20cc3cd470d67686104a14 (diff)
Merge branch 'marchcat/w-whitespace' into marchcat/x-ws-merge
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();
}