summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopcancel.cpp
diff options
context:
space:
mode:
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
-
+