diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:43:28 +0300 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:56:09 +0300 |
| commit | 1b68f71348ecf3983b76b40d7940da8377f049b7 (patch) | |
| tree | 2974eddaef130a067c26033d60a59fc790365b3d /indra/llcorehttp/_httpopsetpriority.cpp | |
| parent | af4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff) | |
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
Diffstat (limited to 'indra/llcorehttp/_httpopsetpriority.cpp')
| -rw-r--r-- | indra/llcorehttp/_httpopsetpriority.cpp | 24 |
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(); } |
