summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-03-17 12:11:03 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-03-17 12:11:03 (GMT)
commitccbf595c52fd705ec70abc774a29b153a7281334 (patch)
tree81b698cf9b2290a6905d12c71ef62e88a8b1c1cc /src/uscxml/Interpreter.cpp
parent81079295b8be14128b7e532d504b32280360532e (diff)
downloaduscxml-ccbf595c52fd705ec70abc774a29b153a7281334.zip
uscxml-ccbf595c52fd705ec70abc774a29b153a7281334.tar.gz
uscxml-ccbf595c52fd705ec70abc774a29b153a7281334.tar.bz2
Fixed http responses and added miles invoker
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 5324b9e..95f4658 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -37,9 +37,9 @@ Interpreter::Interpreter() : Arabica::SAX2DOM::Parser<std::string>() {
_thread = NULL;
_sendQueue = NULL;
_parentQueue = NULL;
- _httpServlet = NULL;
_running = false;
_done = false;
+ _httpServlet = NULL;
#ifdef _WIN32
WSADATA wsaData;
@@ -277,7 +277,8 @@ void Interpreter::interpret() {
if (_dataModel) {
_dataModel.assign("_x.args", _cmdLineOptions);
- _dataModel.assign("_ioprocessors['http']", _httpServlet->getDataModelVariables());
+ if (_httpServlet)
+ _dataModel.assign("_ioprocessors['http']", _httpServlet->getDataModelVariables());
}
setupIOProcessors();