summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopcancel.cpp
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@posteo.nl>2024-05-22 11:05:51 +0200
committerNicky <nicky.dasmijn@posteo.nl>2024-05-22 11:05:51 +0200
commitad59ffd4bc7bc77b260da6152a188f6b2ab59d05 (patch)
tree169edbab006d8bbd86b2980ab98fb62e097067ff /indra/llcorehttp/_httpopcancel.cpp
parent3dc5fa00753bb889280771a2cd17029aa1e42f24 (diff)
parentec23d45e2e9a87147641fed6f8c3ef6083c2f878 (diff)
Merge remote-tracking branch 'mkd/pipewire-linux-volume-catcher' into pipewire-linux-volume-catcher
Diffstat (limited to 'indra/llcorehttp/_httpopcancel.cpp')
-rw-r--r--indra/llcorehttp/_httpopcancel.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/llcorehttp/_httpopcancel.cpp b/indra/llcorehttp/_httpopcancel.cpp
index c1912eb3db..3b6cd3caa9 100644
--- a/indra/llcorehttp/_httpopcancel.cpp
+++ b/indra/llcorehttp/_httpopcancel.cpp
@@ -43,8 +43,8 @@ namespace LLCore
HttpOpCancel::HttpOpCancel(HttpHandle handle)
- : HttpOperation(),
- mHandle(handle)
+ : HttpOperation(),
+ mHandle(handle)
{}
@@ -59,15 +59,15 @@ HttpOpCancel::~HttpOpCancel()
// its handler.
void HttpOpCancel::stageFromRequest(HttpService * service)
{
- if (! service->cancel(mHandle))
- {
- mStatus = HttpStatus(HttpStatus::LLCORE, HE_HANDLE_NOT_FOUND);
- }
-
- addAsReply();
+ if (! service->cancel(mHandle))
+ {
+ mStatus = HttpStatus(HttpStatus::LLCORE, HE_HANDLE_NOT_FOUND);
+ }
+
+ addAsReply();
}
} // end namespace LLCore
-
+