diff options
Diffstat (limited to 'src/uscxml/plugins/element/respond/RespondElement.cpp')
-rw-r--r-- | src/uscxml/plugins/element/respond/RespondElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/plugins/element/respond/RespondElement.cpp b/src/uscxml/plugins/element/respond/RespondElement.cpp index a88d9c6..f415b19 100644 --- a/src/uscxml/plugins/element/respond/RespondElement.cpp +++ b/src/uscxml/plugins/element/respond/RespondElement.cpp @@ -55,7 +55,7 @@ void RespondElement::enterElement(const Arabica::DOM::Node<std::string>& node) { std::string requestId = _interpreter->getDataModel().evalAsString(ATTR(node, "to")); // try to get the request object - InterpreterServlet* servlet = _interpreter->getHTTPServlet(); + InterpreterHTTPServlet* servlet = _interpreter->getHTTPServlet(); tthread::lock_guard<tthread::recursive_mutex> lock(servlet->getMutex()); if (servlet->getRequests().find(requestId) == servlet->getRequests().end()) { @@ -65,7 +65,7 @@ void RespondElement::enterElement(const Arabica::DOM::Node<std::string>& node) { assert(servlet->getRequests().find(requestId) != servlet->getRequests().end()); HTTPServer::Request httpReq = servlet->getRequests()[requestId]; - assert(httpReq.curlReq != NULL); + assert(httpReq.evhttpReq != NULL); HTTPServer::Reply httpReply(httpReq); servlet->getRequests().erase(requestId); |