diff --git a/core/CTextParsers.cpp b/core/CTextParsers.cpp index 7f922eef..b0720bad 100644 --- a/core/CTextParsers.cpp +++ b/core/CTextParsers.cpp @@ -233,8 +233,7 @@ SMCParseError CTextParsers::ParseStream_SMC(void *stream, { if (!read) { - err = SMCParse_StreamError; - goto failed; + break; } /* :TODO: do this outside of the main loop somehow