diff options
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r-- | src/uscxml/Interpreter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp index d5c8b7f..0c466c9 100644 --- a/src/uscxml/Interpreter.cpp +++ b/src/uscxml/Interpreter.cpp @@ -87,6 +87,9 @@ Interpreter* Interpreter::fromURI(const std::string& uri) { // use curl for everything else std::stringstream ss; ss << absUrl; + if (absUrl.downloadFailed()) { + return NULL; + } ss.seekg(0); inputSource.setByteStream(ss); } |