summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopcancel.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-15 12:06:42 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-15 12:07:29 +0300
commitdcb85f9f9d1019bb046a5719bc3645fa96a2d060 (patch)
tree2a75406ca1ab8d15e88066dfdc7440c93d0d7c63 /indra/llcorehttp/_httpopcancel.cpp
parent26f70456d1e9059c48d25e08fc07f893315b1f3c (diff)
parente7eced3c87310b15ac20cc3cd470d67686104a14 (diff)
Merge branch 'marchcat/w-whitespace' into release/maint-c
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
-
+