diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-08-12 10:55:50 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-08-12 10:55:50 +0900 |
| commit | 732ed1fb8b779530fac545dd382169e584384f0e (patch) | |
| tree | afc706b4016d2cd56fc84208dc8cb93e48dff5e2 /src/HttpServerBodyCommand.cc | |
| parent | 8d626822020a76558ef0b7400b6870e89ecd12b0 (diff) | |
Fix broken XMLRPC method call
Diffstat (limited to 'src/HttpServerBodyCommand.cc')
| -rw-r--r-- | src/HttpServerBodyCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpServerBodyCommand.cc b/src/HttpServerBodyCommand.cc index 3922ff0a..6c0b58e0 100644 --- a/src/HttpServerBodyCommand.cc +++ b/src/HttpServerBodyCommand.cc @@ -227,8 +227,8 @@ bool HttpServerBodyCommand::execute() return true; } A2_LOG_INFO(fmt("Executing RPC method %s", req.methodName.c_str())); - auto res = rpc::getMethod(req.methodName) - ->execute(std::move(req), e_); + auto method = rpc::getMethod(req.methodName); + auto res = method->execute(std::move(req), e_); bool gzip = httpServer_->supportsGZip(); std::string responseData = rpc::toXml(res, gzip); httpServer_->feedResponse(std::move(responseData), "text/xml"); |
