Fixed include in http_c,h; added ERROR_CONTEXT_ERROR to CreateContext

This commit is contained in:
B3n30 2018-07-24 23:38:19 +02:00
parent daac1349db
commit 050d116cb6
2 changed files with 2 additions and 2 deletions

View file

@ -54,8 +54,7 @@ void HTTP_C::CreateContext(Kernel::HLERequestContext& ctx) {
LOG_ERROR(Service_HTTP, "invalid request method={}", static_cast<u32>(method));
IPC::RequestBuilder rb = rp.MakeBuilder(1, 2);
rb.Push(ResultCode(ErrCodes::InvalidContext, ErrorModule::HTTP, ErrorSummary::InvalidState,
ErrorLevel::Permanent));
rb.Push(ERROR_CONTEXT_ERROR);
rb.PushMappedBuffer(buffer);
return;
}

View file

@ -4,6 +4,7 @@
#pragma once
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>