diff options
| author | Nicky <nicky.dasmijn@posteo.nl> | 2024-05-22 11:05:51 +0200 |
|---|---|---|
| committer | Nicky <nicky.dasmijn@posteo.nl> | 2024-05-22 11:05:51 +0200 |
| commit | ad59ffd4bc7bc77b260da6152a188f6b2ab59d05 (patch) | |
| tree | 169edbab006d8bbd86b2980ab98fb62e097067ff /indra/llcorehttp/_httpopsetpriority.cpp | |
| parent | 3dc5fa00753bb889280771a2cd17029aa1e42f24 (diff) | |
| parent | ec23d45e2e9a87147641fed6f8c3ef6083c2f878 (diff) | |
Merge remote-tracking branch 'mkd/pipewire-linux-volume-catcher' into pipewire-linux-volume-catcher
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(); } |
